pfSense Gold Subscription

Author Topic: Multiple configs of OVPN possible?  (Read 1070 times)

0 Members and 1 Guest are viewing this topic.

Offline mayhem

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Multiple configs of OVPN possible?
« on: February 14, 2011, 06:04:12 am »
Hi,

I currently have OVPN working beautifully through UDP/123. Connects perfectly and I can tunnel all my traffic and http browsing etc no problems at all!
Now what I am trying to do is setup other configuration files for a bunch of other proto/ports, like TCP/123, UDP/443, TCP/443, etc.
Basically all the config files are carbon copies of the first one with obviously proto/ports changed. I have attached a screengrab (also of WAN FW rules), hopefully it makes it easier to follow.
In essence, it doesn't connect to anything other than the first config which is UDP/123. I am guessing OVPN only looks at the first configuration and ignores everything else.

Would appreciate any comments/help

Thanks a bunch!
« Last Edit: February 14, 2011, 06:06:18 am by mayhem »

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14998
  • Karma: +4/-0
    • View Profile
Re: Multiple configs of OVPN possible?
« Reply #1 on: February 14, 2011, 09:41:05 am »
Each config will need a distinct subnet for the tunnel network/address pool. It should work if you have that, since you're already using distinct port numbers.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline mayhem

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Multiple configs of OVPN possible?
« Reply #2 on: February 14, 2011, 12:33:19 pm »

Thanks very much Jimp.

Yeah that must be it, they were all on the same subnet. I airbrushed it but it is.. 192.168.222.0/24
Would appreciate it if you could give me some options for the others as I'm not an expert on ip subnets. I tried 192.168.333.0/24 and its not a valid CIDR.. 192.168.233.0/24 worked but it may be conflicting the other subnet. I changed the outbound NAT 'source' and OVPN address pool and push "dhcp-option DNS in custom options in the OVPN config

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14998
  • Karma: +4/-0
    • View Profile
Re: Multiple configs of OVPN possible?
« Reply #3 on: February 14, 2011, 12:34:49 pm »
Anything from 0-255 should work in that octet. So 192.168.42.x, 192.168.201.x, etc, etc. Whatever you want that isn't in use.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!