Article View: aus.computers.linux
Article #54547Re: IP FORWARDING HHHEEEEEEEEEEELLLLLLLLLLLLLLLLPPPPPPPPPPPPp
From: Matt Jenkins
Date: Tue, 21 Oct 1997 00:00
Date: Tue, 21 Oct 1997 00:00
39 lines
1780 bytes
1780 bytes
Ben Stewart (bstewart@NOSPAM.ast.net.au) wrote:
: Hello there !
:
: This is what is in my rc.local file for DHCP and ip forwarding stuff.
:
: /usr/sbin/dhcpcd &
: /sbin/depmod -a
: /sbin/modprobe ip_masq_ftp
: /sbin/modprobe ip_masq_raudio
: /sbin/modprobe ip_masq_irc
: /sbin/ipfwadm -F -p deny
: /sbin/ipfwadm -F -a m -S 24.192.19.51/32 -D 0.0.0.0/0
:
: This is what i get from my route command in linux
:
: Destination Gateway Genmask Flags Metric Ref Use
: Iface
: 24.192.19.51 * 255.255.255.255 UH 0 0 1
: ppp0
: 24.192.19.0 * 255.255.255.0 U 0 0 14
: eth0
: 127.0.0.0 * 255.0.0.0 U 0 0 5
: lo
: default 24.192.19.1 0.0.0.0 G 1 0 1
: eth0
:
:
: (note: 24.192.19.51 is the windows machine that is dialing up)
:
Sounds like you'll need to add a route on the NT box to let packets bound
for the dialup machine flow through the Linux box.
--
Matt(hew) Jenkins. Computer Science (RMIT Bundoora)
email: mdj@{arcadia|yallara}.cs.rmit.edu.au
------ Site of the Month ------
http://www.ardi.com/
Technical Details
Message-ID:
<62hone$ppp$1@goanna.cs.rmit.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<344C44DD.5C48@NOSPAM.ast.net.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,7156a85c69ab8a31,start X-Google-Attributes: gid102983,public From: mdj@arcadia.cs.rmit.edu.au (Matt Jenkins) Subject: Re: IP FORWARDING HHHEEEEEEEEEEELLLLLLLLLLLLLLLLPPPPPPPPPPPPp Date: 1997/10/21 Message-ID: <62hone$ppp$1@goanna.cs.rmit.edu.au> X-Deja-AN: 282211240 References: <344C44DD.5C48@NOSPAM.ast.net.au> Organization: Comp Sci, RMIT University, Melbourne, Australia. Newsgroups: aus.computers.linux