buford
12-29-2000, 11:50 PM
I'm using ipchains to setup a firewall and
allow my 2nd computer access to the internet.
I have a DSL connection w/pppoe. I'm using the ipchains NHF w/rc.firewall script to help me with the setup. Here is my setup..
computer #1
-Slackware 7.1
-two NIC's
eth1 external (connects to DSL modem)
eth0 internal(connected to PC running Win98)
this is the ouput from ifconfig....
bash-2.04# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50 http://www.linuxnewbie.org/ubb/biggrin.gifA:B7:6F:FC
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:4
collisions:0 txqueuelen:100
Interrupt:11 Base address:0x1800
eth1 Link encap:Ethernet HWaddr 00:50 http://www.linuxnewbie.org/ubb/biggrin.gifA http://www.linuxnewbie.org/ubb/biggrin.gif1:25:45
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4956 errors:0 dropped:0 overruns:0 frame:0
TX packets:4359 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0x1880
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
ppp0 Link encap:Point-to-Point Protocol
inet addr:64.222.xx.xxx P-t-P:10.19.1.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:4954 errors:0 dropped:0 overruns:0 frame:0
TX packets:4357 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
....and the ouput from ipchains
bash-2.04# ipchains -L -v
Chain input (policy ACCEPT: 4393 packets, 2346530 bytes):
pkts bytes target prot opt tosa tosx ifname mark outsize source destination ports
0 0 ACCEPT udp ------ 0xFF 0x00 ppp0 anywhere anywhere bootps -> bootpc
Chain forward (policy DENY: 0 packets, 0 bytes):
pkts bytes target prot opt tosa tosx ifname mark outsize source destination ports
...so would ppp0 be my external interface?
I have my WIN98 computer configured as ...
IP address = 10.19.1.9
subnet mask = 255.255.255.0
gateway = 10.19.1.1
I have named the computer and given my
ISP's nameserver and domain name.
I can't ping either computer from the other.
Anybody have any suggestions. Sorry for bad formatting.
allow my 2nd computer access to the internet.
I have a DSL connection w/pppoe. I'm using the ipchains NHF w/rc.firewall script to help me with the setup. Here is my setup..
computer #1
-Slackware 7.1
-two NIC's
eth1 external (connects to DSL modem)
eth0 internal(connected to PC running Win98)
this is the ouput from ifconfig....
bash-2.04# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50 http://www.linuxnewbie.org/ubb/biggrin.gifA:B7:6F:FC
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:4
collisions:0 txqueuelen:100
Interrupt:11 Base address:0x1800
eth1 Link encap:Ethernet HWaddr 00:50 http://www.linuxnewbie.org/ubb/biggrin.gifA http://www.linuxnewbie.org/ubb/biggrin.gif1:25:45
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4956 errors:0 dropped:0 overruns:0 frame:0
TX packets:4359 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0x1880
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
ppp0 Link encap:Point-to-Point Protocol
inet addr:64.222.xx.xxx P-t-P:10.19.1.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:4954 errors:0 dropped:0 overruns:0 frame:0
TX packets:4357 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
....and the ouput from ipchains
bash-2.04# ipchains -L -v
Chain input (policy ACCEPT: 4393 packets, 2346530 bytes):
pkts bytes target prot opt tosa tosx ifname mark outsize source destination ports
0 0 ACCEPT udp ------ 0xFF 0x00 ppp0 anywhere anywhere bootps -> bootpc
Chain forward (policy DENY: 0 packets, 0 bytes):
pkts bytes target prot opt tosa tosx ifname mark outsize source destination ports
...so would ppp0 be my external interface?
I have my WIN98 computer configured as ...
IP address = 10.19.1.9
subnet mask = 255.255.255.0
gateway = 10.19.1.1
I have named the computer and given my
ISP's nameserver and domain name.
I can't ping either computer from the other.
Anybody have any suggestions. Sorry for bad formatting.