LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Pptp Vpn Iptables (https://www.linuxquestions.org/questions/linux-networking-3/pptp-vpn-iptables-220174/)

jrmann1999 08-20-2004 10:24 AM

Pptp Vpn Iptables
 
I'm setting up a VPN at work using PPTP and am curious about a few things:

1. How should I configure the server and client IP addresses? Currently my local netrange is 192.168.1.x and I want my remote clients to be 192.168.254.x, should I configure my server to be inside the 254.x or 1.x range?

2. If I use 254.x, wouldn't I need to use SNAT in iptables to allow my clients to communicate with my private lan? or am I totally off about this?

3. What should my route client side look like to allow it to communicate with all private lan side clients, as well as other vpn users?

arno 08-20-2004 11:26 AM

You could setup a bridge function so you would not need to worry about ip addresses

http://openvpn.sourceforge.net/bridge.html


All times are GMT -5. The time now is 04:07 AM.