The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Security
Google UNIX.COM
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

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-24-2007
Registered User
 

Join Date: Aug 2007
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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
Reply With Quote
Google UNIX.COM
Forum Sponsor
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 11:01 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102