guide for pptp server
hello everybody
i need to set pptp server in Lan on FC4,& pptp client on XP. i installed releted package like dkms , kernek_mppe,ppp,pptpd. How can i go further,as i'm stuck at this stage now.?? |
|
not getting..
Quote:
on Topdog.za.net nothing is appropriate, on poptop.sourceforge.net i got some more idea,but still some queries remain Q.is my [/etc/pptpd.conf] localip & remoteip must in same class.?? Q.what is correct syntax to put username with password in /etc/ppp/chap-secret?? |
A. No it is a point to point link addresses can be on different networks
A. format is "client server password ip address" |
still reaching...
Quote:
i also have to open 1723 tcp port open & GRE protocl-this is required or not??? if required how can i do this?? |
IF you have a firewall you need to allow incoming packets on port 1723 TCP and also allow the GRE protocol which is 47
|
stilll...
Quote:
iptables -A INPUT -p 47 -j ACCEPT iptables -A OUTPUT -p 47 -j ACCEPT iptables -A INPUT -p tcp --sport 1723 -j ACCEPT iptables -A INPUT -p tcp --dport 1723 -j ACCEPT iptables -A OUTPUT -p tcp --sport 1723 -j ACCEPT iptables -A OUTPUT -p tcp --dport 1723 -j ACCEPT is this is sufficient to do this?? |
iptables -A INPUT -p 47 -j ACCEPT
iptables -A OUTPUT -p 47 -j ACCEPT iptables -A INPUT -p tcp --dport 1723 -j ACCEPT iptables -A OUTPUT -p tcp --sport 1723 -j ACCEPT |
still...
when i give this command it is reflected in
#iptables -L but when give service iptables restart this rules go off?? how do i overcome this?? |
You need to add them to /etc/sysconfig/iptables
|
u mean to say in /etc/sysconfig/iptables-config??
i don't find any /etc/sysconfig/iptables.... |
tryl
Quote:
Give command #service iptables save this command automatically create /etc/sysconfig/iptables.. |
All times are GMT -5. The time now is 08:45 PM. |