View previous topic :: View next topic |
Author |
Message |
SnEptUne l33t
Joined: 23 Aug 2004 Posts: 656
|
Posted: Sun Jan 15, 2006 6:53 am Post subject: Connect to different VPN server behind router simutanuously |
|
|
Hi everyone,
It is possible for two workstation behind a router (with one Internet IP) to connect to two different VPN server at the same port number at the same time?
Any suggestion or workaround are welcome, thank you. _________________ "There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114) |
|
Back to top |
|
|
tuxmin l33t
Joined: 24 Apr 2004 Posts: 838 Location: Heidelberg
|
Posted: Sun Jan 15, 2006 8:08 am Post subject: |
|
|
Depends on your VPN.
OpenVPN is absolutely no problem. PPTP works too, as far as I know (at least with a recent kernel/iptables). IPsec could give you a headache as it's difficult to NAT by desgin. But in theory it can work. Never tried myself, though.
Alex!!! _________________ ALT-F4 |
|
Back to top |
|
|
SnEptUne l33t
Joined: 23 Aug 2004 Posts: 656
|
Posted: Sun Jan 15, 2006 4:58 pm Post subject: |
|
|
tuxmin wrote: | Depends on your VPN.
OpenVPN is absolutely no problem. PPTP works too, as far as I know (at least with a recent kernel/iptables). IPsec could give you a headache as it's difficult to NAT by desgin. But in theory it can work. Never tried myself, though.
Alex!!! |
Could you elabourate on what I have to do in order to connect to the servers simultaneously? For example, how do I forward the ports in the router setup? And how should the workstations (behind the router) be configurated? _________________ "There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114) |
|
Back to top |
|
|
tuxmin l33t
Joined: 24 Apr 2004 Posts: 838 Location: Heidelberg
|
Posted: Sun Jan 15, 2006 5:22 pm Post subject: |
|
|
There's nothing to do. The connection tracking of iptables does all the work for you (at least for OpenVPN and PPTP). _________________ ALT-F4 |
|
Back to top |
|
|
SnEptUne l33t
Joined: 23 Aug 2004 Posts: 656
|
Posted: Wed Jan 18, 2006 12:04 am Post subject: |
|
|
I think you have misunderstood me. I don't have any VPN servers. I am only trying to connect to a VPN server on some company. However, VPN requires port forwarding on the router unless I have mistaken. Thus, the problem is how can I forward the same port number to two different workstation behind the router (according to the VPN connection)? _________________ "There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114) |
|
Back to top |
|
|
tuxmin l33t
Joined: 24 Apr 2004 Posts: 838 Location: Heidelberg
|
Posted: Wed Jan 18, 2006 7:06 am Post subject: |
|
|
Port forwarding is only necessary when *you* run a server. As you have only clients your router does the work for you... if this router isn't a Linux machine and PPTP and especially IPsec don't work I'm afraid your lost _________________ ALT-F4 |
|
Back to top |
|
|
SnEptUne l33t
Joined: 23 Aug 2004 Posts: 656
|
Posted: Thu Jan 19, 2006 12:07 am Post subject: |
|
|
tuxmin wrote: | Port forwarding is only necessary when *you* run a server. As you have only clients your router does the work for you... if this router isn't a Linux machine and PPTP and especially IPsec don't work I'm afraid your lost |
I see. Thank you for your information. However, what kernel option do I need in order for the router to work? Is there any other special iptable rules that I need to define in order for VPN to work behind the router. The vpn clients, however, are mostly Windows machine. _________________ "There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114) |
|
Back to top |
|
|
|