Multiple configs of OVPN possible?
-
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!
-
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.
-
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 -
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.