Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» OpenVPN» Multiple configs of OVPN possible?
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: Multiple configs of OVPN possible?  (Read 727 times)
0 Members and 1 Guest are viewing this topic.
mayhem
Newbie
*
Offline Offline

Posts: 16


View Profile
« on: February 14, 2011, 07: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, 07:06:18 am by mayhem » Logged
jimp
Administrator
Hero Member
*****
Offline Offline

Posts: 12842



View Profile
« Reply #1 on: February 14, 2011, 10: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.
Logged

Need help fast? Commercial Support!

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

Do not PM for help!

Donate to the project | My Wish List
mayhem
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #2 on: February 14, 2011, 01: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
Logged
jimp
Administrator
Hero Member
*****
Offline Offline

Posts: 12842



View Profile
« Reply #3 on: February 14, 2011, 01: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.
Logged

Need help fast? Commercial Support!

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

Do not PM for help!

Donate to the project | My Wish List
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.026 seconds with 19 queries.