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.
Hi folks, I would like to ask some advice on how to configure my network. I am using an ISP(Webpass) does not provide public ipv4, hence, my home VPN server is not accessible from many networks(which does not support ipv6).
What I did is using a linux server on Google Cloud as VPN server, and I initiate a VPN connection from my home server to this remote cloud VPN server.
Now if I connect to this VPN server from my laptop, I can SSH and connect to "this particular" home server, which joined the VPN network. For the rest of devices, there is no route to the host, although I tried to add a static route.
My question: is server a way I could use this VPN to establish a channel, so that all my computers in home network can be accessed from the laptop joined the VPN server?
Thank you very much
My topology:
Laptop. ------------ Remote VPN server ---------Home Server -------Home Network VPN
192.168.1.100 ------<-ppp0-------ppp1->--------192.168.1.101--------10.5.1.1/24
--------------------------------------------------10.5.1.2 in home network
I'm not clear about what your trying to do beyond the fact that you have a laptop and server connected to a common remote VPN server. Are you also trying to share the VPN connection via your laptop? Why don't you set up a router to initiate the VPN connection and put the hosts behind that router? Some more clarification probably necessary here.
I'm not clear about what your trying to do beyond the fact that you have a laptop and server connected to a common remote VPN server. Are you also trying to share the VPN connection via your laptop? Why don't you set up a router to initiate the VPN connection and put the hosts behind that router? Some more clarification probably necessary here.
I am using xl2tp over IPSec.
End goal trying to access my home network(all machines) via a VPN server sitting on AWS. My problem with ISP is I am not assigned with a public accessible IPv4, so I cannot VPN back to my "router" or "VPN server hosted behind router" directly. I am thinking if it is feasible to VPN into this AWS hosted server, from laptop(say at work), and from a server at home. Then I would have a ppp0 and ppp1 interface on the VPN server. Maybe I could add some "bridge" or "static route", so that I could bring my home network accessible?
Thanks!! I think I already have this setting on the VPN server. However, when I try to access a desktop in my home network other than server(which login the VPN server), I got no route to host error.
Laptop : assigned 192.168.1.2 by VPN server
Home server: assigned 192.168.1.3 by VPN server, 10.5.1.2 on home network
Home desktop: 10.5.1.3
I could ssh into the home server from laptop with 192.168.1.3 IP, but not able to ping or SSH 10.5.1.3. I added a static route of network 10.5.1.0/24 via ppp1 interface, but seems it is not helping. Do I need to add anything to the home server network configuration?
Does VPN server tell Laptop how to route 10.5.1.1/24 network's traffic? You might need add a static route on Laptop to indicate how to route 10.5.1.1/24 traffic.
after adding 10.5.1.0/24 as static route on vpn server, i could use server's ip(local to home) 10.5.1.2 to connect. However, other IPs (10.5.1.3) is not accessible.
Many said it is b/c p2p tunnel does not understand network(only point ip), so feels like i need to make a tunnel on top of the p2p tunnel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.