John P wrote:
>
> Hi All
>
> I was looking at installing PoPToP (PPTP server) on a RedHat server on my
> internal network so users at home, mobile etc. can access our Samba shares
> using a dialup connection.
>
> I know I need to open ports 1723 (tcp) and protocol 47 to allow the PPTP
> protocol to work, and I can do this with my LRP box. I assume I will need to
> portforward 1723 to the internal server. But how can I 'protocolforward'?
>
/usr/sbin/ipfwd my_server_ip 47 &
is the command you are looking for. Replace my_server_ip with your PPTP
server. & backgrounds the command so you have your command prompt for
other activities. I just read through /etc/init.d/network,
/etc/network.conf, and /etc/ipconfig.conf today. Currently there is no
automated support for protocol forwarding in the network setup scripts.
You will have to automate this yourself. I believe you can put your
1723 port in the /etc/network.cfg file at the line that has
EXTERN_TCP_PORTS. I presume PPTP is TCP and not UDP. There is a line
for UDP also.
# TCP services open to outside world
# - srcip/mask_dstport
EXTERN_TCP_PORTS="0/0_ssh 0/0_smtp my_server_ip/1723"
0 is the whole network where my_server_ip is a specific server on your
net. (List please correct me if I wrong.)
> Also, PPTP seems to work by assigning a separate network (eg. I will set up
> 10.0.1.x with my current network of 10.0.0.x) - do I have to do anything
> special on my LRP box or just use ipchains rules to do it on my internal
> server (and enable ip forwarding on it)?
>
> Thanks
>
> John
>
> _______________________________________________
> Leaf-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/leaf-user
_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user