The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Security
.
google unix.com



Security Discuss UNIX and Linux computer and network security, cybersecurity, cyberattacks, IT security, CISSP, OWASP and more.

More UNIX and Linux Forum Topics 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-25-2007 03:20 AM
cant access certain pages through iptables fw/router sonicx IP Networking 1 12-21-2007 09:04 AM
IPTABLES Firewall concept help Bradley Porter UNIX for Dummies Questions & Answers 1 01-02-2007 05:39 AM
The Best Script For Iptables Firewall binhnx2000 Security 5 08-01-2002 12:25 AM
how to configure a linux box as a firewall using iptables Deuce UNIX for Dummies Questions & Answers 2 11-06-2001 05:25 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-24-2007
chandan_m chandan_m is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 4
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
  #2 (permalink)  
Old 11-06-2008
kumarcbs kumarcbs is offline
Registered User
  
 

Join Date: Dec 2006
Posts: 7
Hi All

Please reefer this link what do u want u can get her …..Website

Quick HOWTO : Ch14 : Linux Firewalls Using iptables - Linux Home Networking
Sponsored Links
Closed Thread

Bookmarks

Tags
ping, ping port, port, port ping

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB 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 -4. The time now is 09:21 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0