LinuxQuestions.org
Have you listened to LQ Radio?

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

Are you new to LinuxQuestions.org? Visit the following links:
Site Howto | Site FAQ | Sitemap | Register Now

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.

Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Reply
 
Thread Tools
Old 05-13-2008, 01:47 AM   #1
visraj
LQ Newbie
 
Registered: May 2008
Posts: 7
Question guide for pptp server


[Log in to get rid of this advertisement]
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.??
visraj is offline     Reply With Quote
Old 05-14-2008, 02:32 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS
Posts: 385
http://poptop.sourceforge.net/dox/
datopdog is offline     Reply With Quote
Old 05-14-2008, 04:30 AM   #3
visraj
LQ Newbie
 
Registered: May 2008
Posts: 7
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??
visraj is offline     Reply With Quote
Old 05-14-2008, 05:25 AM   #4
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS
Posts: 385
A. No it is a point to point link addresses can be on different networks

A. format is "client server password ip address"
datopdog is offline     Reply With Quote
Old 05-14-2008, 05:36 AM   #5
visraj
LQ Newbie
 
Registered: May 2008
Posts: 7
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??
visraj is offline     Reply With Quote
Old 05-14-2008, 05:38 AM   #6
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS
Posts: 385
IF you have a firewall you need to allow incoming packets on port 1723 TCP and also allow the GRE protocol which is 47
datopdog is offline     Reply With Quote
Old 05-14-2008, 05:44 AM   #7
visraj
LQ Newbie
 
Registered: May 2008
Posts: 7
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??
visraj is offline     Reply With Quote
Old 05-14-2008, 05:47 AM   #8
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS
Posts: 385
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
datopdog is offline     Reply With Quote
Old 05-14-2008, 05:55 AM   #9
visraj
LQ Newbie
 
Registered: May 2008
Posts: 7
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??
visraj is offline     Reply With Quote
Old 05-14-2008, 05:57 AM   #10
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS
Posts: 385
You need to add them to /etc/sysconfig/iptables
datopdog is offline     Reply With Quote
Old 05-14-2008, 06:01 AM   #11
visraj
LQ Newbie
 
Registered: May 2008
Posts: 7
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 06:02 AM. Reason: spelling
visraj is offline     Reply With Quote
Old 06-07-2008, 07:15 AM   #12
visraj
LQ Newbie
 
Registered: May 2008
Posts: 7
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..
visraj is offline     Reply With Quote

Reply

Submit thread to Digg | Submit thread to del.icio.us | Submit to LQ Bookmarks

« Back to Top »

Thread Tools

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

vB 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 11:20 AM
LXer: Linux Configure point to point tunneling PPTP VPN client for Microsoft PPTP vpn server LXer Syndicated Linux News 0 06-13-2007 08:46 AM
PPTP server leiw Linux - General 1 08-04-2006 08:30 PM
PPTP Vpn Server cmrnaidu Programming 1 07-12-2006 08:54 PM
PPTP server paul_mat Linux - Newbie 3 04-16-2005 07:30 PM



Add LQ To Your Yahoo Add LQ To Your Google Add LQ To Your MSN Add LQ To Your Blog
All times are GMT -5. The time now is 10:11 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Open Source Consulting | Domain Registration