![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Security Anything involving computer security goes here. |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Arno's IPTABLES Firewall Script 1.8.8l (Stable branch) | iBot | Software Releases - RSS News | 0 | 12-24-2007 11:20 PM |
| cant access certain pages through iptables fw/router | sonicx | IP Networking | 1 | 12-21-2007 05:04 AM |
| IPTABLES Firewall concept help | Bradley Porter | UNIX for Dummies Questions & Answers | 1 | 01-02-2007 01:39 AM |
| The Best Script For Iptables Firewall | binhnx2000 | Security | 5 | 07-31-2002 09:25 PM |
| how to configure a linux box as a firewall using iptables | Deuce | UNIX for Dummies Questions & Answers | 2 | 11-06-2001 01:25 PM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Help needed in IPTables firewall/router setup - Linux
HI all,
I have setup IPTables firewall/Router and my home network, with address space 192.168.10.XXX Form my private network hosts, i can ping the gateway ( 192.168.10.101 ) , but the reverse is not happening. Can someone help me as of what i need to do, so that i can ping my private hosts form the gateway. .................................................................................................... .................................... Also some additional details about my network. I have a 2 MBps adsl connection form an ISP. and have two cards in my gateway, One card ( eth1 ) connected to adsl router, and second card ( eth0 ) connected to my private network ( a d-link unmanaged 8 port switch ) [root@chandan-gateway ~]# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:80:48:37:18:E2 inet addr:192.168.10.101 Bcast:192.168.10.255 Mask:255.255.255.0 inet6 addr: fe80::280:48ff:fe37:18e2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2568 errors:3 dropped:0 overruns:0 frame:0 TX packets:4302 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:189676 (185.2 KiB) TX bytes:5704882 (5.4 MiB) Interrupt:18 Base address:0xa000 eth1 Link encap:Ethernet HWaddr 00:07:E9:0F:8D:7F inet6 addr: fe80::207:e9ff:fe0f:8d7f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:40815 errors:0 dropped:0 overruns:0 frame:0 TX packets:37215 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:37509033 (35.7 MiB) TX bytes:4437726 (4.2 MiB) Base address:0xc000 Memory:dd020000-dd040000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:7757 errors:0 dropped:0 overruns:0 frame:0 TX packets:7757 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:68684901 (65.5 MiB) TX bytes:68684901 (65.5 MiB) ppp0 Link encap:Point-to-Point Protocol inet addr:59.92.132.104 P-t-P:59.92.128.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:14058 errors:0 dropped:0 overruns:0 frame:0 TX packets:12594 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:15879747 (15.1 MiB) TX bytes:1359325 (1.2 MiB) [root@chandan-gateway ~]# [root@chandan-gateway ~]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 59.92.128.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 [root@chandan-gateway ~]# [root@chandan-gateway ~]# ping 192.168.10.101 PING 192.168.10.101 (192.168.10.101) 56(84) bytes of data. 64 bytes from 192.168.10.101: icmp_seq=1 ttl=64 time=0.091 ms 64 bytes from 192.168.10.101: icmp_seq=2 ttl=64 time=0.085 ms --- 192.168.10.101 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.085/0.088/0.091/0.003 ms [root@chandan-gateway ~]# [root@chandan-gateway ~]# [root@chandan-gateway ~]# [root@chandan-gateway ~]# ping 192.168.10.111 PING 192.168.10.111 (192.168.10.111) 56(84) bytes of data. From 192.168.10.101 icmp_seq=2 Destination Host Unreachable From 192.168.10.101 icmp_seq=3 Destination Host Unreachable From 192.168.10.101 icmp_seq=4 Destination Host Unreachable --- 192.168.10.111 ping statistics --- 5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3999ms , pipe 3 [root@chandan-gateway ~]# [root@chandan-gateway ~]# [root@chandan-gateway ~]# ping 192.168.10.112 PING 192.168.10.112 (192.168.10.112) 56(84) bytes of data. From 192.168.10.101 icmp_seq=2 Destination Host Unreachable From 192.168.10.101 icmp_seq=3 Destination Host Unreachable From 192.168.10.101 icmp_seq=4 Destination Host Unreachable --- 192.168.10.112 ping statistics --- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms , pipe 3 [root@chandan-gateway ~]# .................................................................................................... .................................... All help appreciated. eagerly waiting for some help here. Kind Regards, -- Chandan |
|||
| Google UNIX.COM |
| Forum Sponsor | ||
|
|