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.
forgive me I am new with Linux but I am trying to setup a OpenVPN server. I have the VPN working I can ping from both the client to server and server to client. What I would like to do is masq the tun0 adapter, from the not so detailed scraps I have found from google it seems possible?
What I am using is SLES 11 and currently routing openvpn.
I want the lan to see the already configured eth0 adapter. I am only ussing one physical adapter so what I would like to do is masq/loop the tun0 adapter.
clientt 10.6.1.1 --> server 10.8.1.1(eth0) --> vpn 10.4.0.6(tun0) --> LAN network 10.8.2.1
If I do not use the vpn and only ssh I can ssh to the server (eth0) and then ssh to the LAN network already so the routes work otherwise. I need this to work with VPN though.
Ok I have not used a vpn before, but the normal way would be to do something like this hopefully when anything going out the vpn interface should have it's source changed to the address of the interface, and changed back when the packets of data return.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.