LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   guide for pptp server (https://www.linuxquestions.org/questions/linux-newbie-8/guide-for-pptp-server-641807/)

visraj 05-13-2008 01:47 AM

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.??

datopdog 05-14-2008 02:32 AM

http://poptop.sourceforge.net/dox/

visraj 05-14-2008 04:30 AM

not getting..
 
Quote:

Originally Posted by datopdog (Post 3152665)

thanx for solution.
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??

datopdog 05-14-2008 05:25 AM

A. No it is a point to point link addresses can be on different networks

A. format is "client server password ip address"

visraj 05-14-2008 05:36 AM

still reaching...
 
Quote:

Originally Posted by datopdog (Post 3152757)
A. No it is a point to point link addresses can be on different networks

A. format is "client server password ip address"

thanx for ur attention.
i also have to open 1723 tcp port open & GRE protocl-this is required or not???
if required how can i do this??

datopdog 05-14-2008 05:38 AM

IF you have a firewall you need to allow incoming packets on port 1723 TCP and also allow the GRE protocol which is 47

visraj 05-14-2008 05:44 AM

stilll...
 
Quote:

Originally Posted by datopdog (Post 3152764)
IF you have a firewall you need to allow incoming packets on port 1723 TCP and also allow the GRE protocol which is 47


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??

datopdog 05-14-2008 05:47 AM

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

visraj 05-14-2008 05:55 AM

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??

datopdog 05-14-2008 05:57 AM

You need to add them to /etc/sysconfig/iptables

visraj 05-14-2008 06:01 AM

u mean to say in /etc/sysconfig/iptables-config??
i don't find any /etc/sysconfig/iptables....

visraj 06-07-2008 07:15 AM

tryl
 
Quote:

Originally Posted by visraj (Post 3152787)
u mean to say in /etc/sysconfig/iptables-config??
i don't find any /etc/sysconfig/iptables....

i got it...
Give command
#service iptables save
this command automatically create /etc/sysconfig/iptables..


All times are GMT -5. The time now is 08:45 PM.