Need help for iptables

Sai Duan <[email protected]>
Newsgroups gmane.network.poptop
Message-ID <[email protected]>
Dear All:

I want to build a vpn server on one of my computer. Following is the details

Client Name : client
Client Tunnel Network Interface :       ppp0
Client Tunnel Network Interface Address :       10.255.255.200
Server Name :   server
Server Tunnel Network Interface :       ppp0
Server Tunnel Network Interface Address :       10.1.1.2
Server External Network Interface :     eth1
Server External Network Interface Address :     210.34.14.211
Target External Network Interface Address :     210.34.4.20

I have get the correct ip "10.255.255.200" from the vpn server and can 
ping server's ip "10.1.1.2". As said in the website
http://poptop.sourceforge.net/dox/redhat-howto.phtml
"Once you can ping from the client to the server using the IP address 
assigned within the tunnel, you know it works".
This means that I install vpn software successfully.

"You may need to configure your server to forward the packets further, 
but that's a routing problem that has nothing specific to do with pptpd"

However, I am not familiar with iptables. So I used the website
http://poptop.sourceforge.net/dox/diagnose-forwarding.phtml?cn=client&ctni=ppp0&ctnia=10.255.255.200&sn=server&stni=ppp0&stnia=10.1.1.2&seni=eth0&senia=210.34.14.211&tenia=210.34.4.20
to diagnose the rule of iptables

I have passed first four steps and failed in

*Test 4*

Can the server forward the requests to the target?

The suggestion from the website is

"The most common cause of failure for this test is /iptables/ FORWARD 
rules."

How can I fix this problem?





Best regards.

Sai Duan
03/06/2011

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d

_______________________________________________
Poptop-server mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/poptop-server
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.