Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have successfully set up a pptp VPN on one of linux boxes. In order for a vpn client see the internal network, i added an iptables rule, telling it to nat all packets from the ppp interface to the eth0 interface. I am still having a problem with packets not being broadcasted to the ppp interface, so as a result i am not seeing samba workgroups or applettalk networks.
Can someone tell me if it is possible in iptables for all traffic being routed to eth0, to be forwarded to ppp also? this way i can get all broadcasts on the local network being sent to my vpn.
Try adding "proxyarp" to your ppp options
Also I don't think its neccesary to do NAT, as long as other hosts on the LAN knows how to get to the remote client (eg using the VPN server as the gateway), it should be fine.
So proxyarp is activated but it still does not forward packets. The VPN is also on the gateway and when i try to ping my VPN client ipaddress from the gateway eth0, it does not reply.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.