Next Previous Contents

5. Routing Issues

5.1 Using a Proxy ARP

If you have to use exactly the same subnet for the vpn-clients and the lan-clients, the vpn-gw must also work as an arp proxy. Therefore you have to enable arp proxy support in the kernel configuration and activate it with:


echo 1 > /proc/sys/net/ipv4/conf/ethX/proxy_arp

For further details see the Linux Advanced Routing and Traffic Control HOWTO

5.2 Using a different Subnet for the VPN-Clients

If you have to distinguish between vpn-clients and lan-clients in some cases, split your network (virtually) in two parts:


Next Previous Contents