RE: Configuring Linux PPP server to listen to a TCP Port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In BSD systems u can give the PPP traffic to a tcp server listening on some
port

The line in inetd.conf
	PPP stream tcp nowait root /usr/bin/PPP ppp -direct tcp-server

Now here tcp-server block is mentioned in the /etc/ppp/ppp.conf file

tcp_server:
	set ifadddr <ipaddress> <ipaddress -range> mask
	enable proxy
	accept dns

BSD Systems  Supports PPP over TCP and PPP over UDP.  If a device name is
specified as
     host:port[/tcp|udp], ppp will open a TCP or UDP connection for
transport­
     ing data rather than using a conventional serial device.  UDP
connections
     force ppp into synchronous mode. In this case , PPP is done as a user
process with the help of the
     tunnel device driver (tun).

Now i want to achieve the same using linux system
so what are the neccessary changes to be made in the configuration file ???


regards,
Lakshmi




-----Original Message-----
From: kernelnewbies-bounce@nl.linux.org
[mailto:kernelnewbies-bounce@nl.linux.org]On Behalf Of Ravi
Sent: Thursday, February 13, 2003 11:03 PM
To: Lakshmi Shanmugam; kernelnewbies@nl.linux.org
Subject: Re: Configuring Linux PPP server to listen to a TCP Port


>
> I want to configure a Linux PPP server to listen to
>  a TCP Port How do i go about it??

 PPP is a layer-2 protocol. You can't directly make a PPP
server listen on a TCP port. But it is possible to tunnel
PPP connections over a IP network. Take a look at the PPTP
RFC (RFC 2637) and related projects:
http://pptpclient.sourceforge.net
http://poptop.sourceforge.net

Hope this helps.

Ravi.

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux