LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-13-2008, 02:47 AM   #1
visraj
LQ Newbie
 
Registered: May 2008
Posts: 7

Rep: Reputation: 0
Question 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.??
 
Old 05-14-2008, 03:32 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
http://poptop.sourceforge.net/dox/
 
Old 05-14-2008, 05:30 AM   #3
visraj
LQ Newbie
 
Registered: May 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Question not getting..

Quote:
Originally Posted by datopdog View Post
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??
 
Old 05-14-2008, 06:25 AM   #4
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
A. No it is a point to point link addresses can be on different networks

A. format is "client server password ip address"
 
Old 05-14-2008, 06:36 AM   #5
visraj
LQ Newbie
 
Registered: May 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Question still reaching...

Quote:
Originally Posted by datopdog View Post
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??
 
Old 05-14-2008, 06:38 AM   #6
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
IF you have a firewall you need to allow incoming packets on port 1723 TCP and also allow the GRE protocol which is 47
 
Old 05-14-2008, 06:44 AM   #7
visraj
LQ Newbie
 
Registered: May 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Question stilll...

Quote:
Originally Posted by datopdog View Post
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??
 
Old 05-14-2008, 06:47 AM   #8
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
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
 
Old 05-14-2008, 06:55 AM   #9
visraj
LQ Newbie
 
Registered: May 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Question 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??
 
Old 05-14-2008, 06:57 AM   #10
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
You need to add them to /etc/sysconfig/iptables
 
Old 05-14-2008, 07:01 AM   #11
visraj
LQ Newbie
 
Registered: May 2008
Posts: 7

Original Poster
Rep: Reputation: 0
u mean to say in /etc/sysconfig/iptables-config??
i don't find any /etc/sysconfig/iptables....

Last edited by visraj; 05-14-2008 at 07:02 AM. Reason: spelling
 
Old 06-07-2008, 08:15 AM   #12
visraj
LQ Newbie
 
Registered: May 2008
Posts: 7

Original Poster
Rep: Reputation: 0
tryl

Quote:
Originally Posted by visraj View Post
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..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PPTP/PPP Can't get further than pptp server fishy Linux - Networking 2 07-02-2007 12:20 PM
LXer: Linux Configure point to point tunneling PPTP VPN client for Microsoft PPTP vpn server LXer Syndicated Linux News 0 06-13-2007 09:46 AM
PPTP server leiw Linux - General 1 08-04-2006 09:30 PM
PPTP Vpn Server cmrnaidu Programming 1 07-12-2006 09:54 PM
PPTP server paul_mat Linux - Newbie 3 04-16-2005 08:30 PM


All times are GMT -5. The time now is 08:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration