Can I add a new config on a different port to coexist 1194

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
tfbu
OpenVpn Newbie
Posts: 1
Joined: Wed Apr 20, 2011 11:42 pm

Can I add a new config on a different port to coexist 1194

Post by tfbu » Wed Apr 20, 2011 11:47 pm

I have found a number of circumstances where port 1194 is blocked by the ISP (like Cox Cable) and I need to have my existing VPN answer on multiple port numbers utilizing the same client config and subnet.

Is this possible?

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Can I add a new config on a different port to coexist 11

Post by janjust » Thu Apr 21, 2011 8:07 am

in general : no.
Each openvpn instance will have its own server IP range , so with multiple instances you end up with multiple IP ranges.
the only way round this is to use an external DHCP server (in combination with 'server-bridge') but this is undesirable in most cases.

User avatar
maikcat
Forum Team
Posts: 4202
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Can I add a new config on a different port to coexist 11

Post by maikcat » Thu Apr 21, 2011 10:37 am

hi there,

to Janjust:

what about if he tried to redirect ports transparently on server using iptables?
would this break openvpn connections?


Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Can I add a new config on a different port to coexist 11

Post by janjust » Thu Apr 21, 2011 11:24 am

Hi Michael,

actually, that would work in most cases, esp for TCP based sessions. Nice suggestion!

Post Reply