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.
Ich habe ein riesiges Problem mit dem OpenVPN Paket. Server (Linux)
# 192.168.1.117
dev tap
up office.up
ifconfig 10.1.0.1 255.255.255.0
secret key.txt
port 5001
Client (Windows 2000 SP4)
# Internet DHCP
remote x.x.x.x
dev tap
port 5001
ifconfig 10.1.0.2 255.255.255.0
secret key.txt
Die OpenVPN Verbindung wird einwandfrei hergestellt.
Ich kann zwischen dem Client Server pingen.
Wenn ich jetzt allerdings eine Route auf der Windows Kiste eintrage, die über den Server als Gateway benutzt und ein Netzwerk dahinter zum Ziel hat (192.168.1.x) bekomme ich immer Zielhost nicht erreichbar. Mit tracert sehe ich, dass der TAP Ausgang genommen wird, aber das Zielnetz nicht erreichbar ist.
Den Haken in Linux habe ich beim IP_Forwarding auch gesetzt.
HILFE
Gruß
Gunnar
"The OpenVPN connection is manufactured perfectly. I can ping from the client to the server . However f I register a route now on the Windows box, to the server used as a gateway and a network behind it to the goal does not have (192.168.1.x) I always get host unreachable. I see with tracert that the TAP exit is taken, but the goal net is not attainable. I also set the hook in Linux with the IP_Forwarding. HELP"
Are the client and the server on the same LAN or on different ends of the VPN?
Internet
VPN-Client
Internet IP
213.60.xx.xx
Virtual IP
10.1.0.2
LAN
VPN-Server
LAN IP
192.168.1.x
Virtual IP
10.1.0.1
Ping between 10.1.0.1 and 10.1.0.2 is successful, but i cannot reach the 192.168.1.x LAN from the VPN-Client. I think there is something wrong in my Linux Server. I have already set the IP-Forward to "1" but nothing worked.
Sounds like a routing problem. Does the client have an entry in it routing table that send packets address to 192.168.x.x over the vpn? It is probably sending packets addresses to 192.168.x.x out to the internet instead of over the VPN.
The firewall that is making NAT had an other ip adress than the forwarded port for the VPN connection. So IP Pakets took one IP Adress in but an other IP Adress out. That is impossible.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.