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.
hello,
i have 2 big problem:
1) I do not speak well English
2) I do not succeed to create one logon VPN through a linux gateway
this is my configuration:
CLIENT XP WINDOWS CLASS C 192.168.2.0/24
|
|
|
| ETH1 - SERVER LINUX FC3 192.168.2.1
| ETH0 - SERVER LINUX FC3 <PUBLIC_IP>
|
|
ADSL ROUTER
|
| INTERNET
|
REMOTE SERVER <RE.MO.TE.IP>
there are many things that could be wrong. Let's see.
You say that the router is able to connect to the VPN? That could be because the VPN client is "opening" a port that the server has to connect to. What are the rules you have for INPUT? (iptables -L INPUT -nv)
now that I'm checking your rules... what does the second rule mean? are you sure it's correct?
iptables -t nat -A PREROUTING -d eth0 -p gre -j DNAT --to 192.168.2.2
>now that I'm checking your rules... what does the second rule mean? are you sure it's correct?
>iptables -t nat -A PREROUTING -d eth0 -p gre -j DNAT --to 192.168.2.2
>is it -i eth0?
yes, it's corrected.
when I add this line, client 192.168.2.2, works.
through tcpdump I see that packet GRE that arrive from the REMOTE SERVER do not come address to you in the correct way.
when I add the rule over, all the packages sell address you to address 192.168.2.2, for this reason the client 192.168.2.2 work !!!
do iptables-save to list all active rules and POLICYs
There are 4 conntrack modules which handles the extra GRE traffic. They will need to be compiled into the kernel and iptables.
They come from the pptp_conntrack_nat patch at http://www.netfilter.org/patch-o-mat...-conntrack-nat
Distribution: Slackware but I compile everything anyway
Posts: 1
Rep:
hi jobbe
the standard FC kernels dont have the patch for correct NAT-ing of PPTP clients. its a tricky situation and you will need to patch the netfilter modules in the kernel and re-compile.
does anyone know of FC kernel RPMs that have this built in?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.