LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-24-2009, 02:49 AM   #1
please
Member
 
Registered: Apr 2007
Posts: 195

Rep: Reputation: 30
Iptables


Hi Sirs

I want to use all packets with gateway 10.160.64.1.
just only want to use for ICMP with gateway 10.243.49.1.I am pinging to 10.240.67.1.
10.240.67.1 is no route with 10.160.64.1 that is why
How to setup in Iptables?Please share me sirs.

10.243.49.0/28 dev eth1 proto kernel scope link src 10.243.49.4
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.254
10.160.64.0/21 dev eth2 proto kernel scope link src 10.160.65.233
169.254.0.0/16 dev eth2 scope link
default equalize
nexthop via 10.243.49.1 dev eth1 weight 1
nexthop via 10.160.64.1 dev eth2 weight 1

Thanks
Please
 
Old 02-24-2009, 02:52 AM   #2
please
Member
 
Registered: Apr 2007
Posts: 195

Original Poster
Rep: Reputation: 30
sorry for my forgot
I not want to use any with 10.243.49.1 except PING(ICMP)

Thanks
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
An error occured getting IPtables status from the command /etc/rc.d/init.d/iptables s CrazyMAzeY Linux - Newbie 10 08-12-2010 05:25 AM
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 08:20 PM
IPtables Log Analyzer from http://www.gege.org/iptables/ brainlego Linux - Software 0 08-11-2003 06:08 AM
iptables book wich one can you pll recomment to be an iptables expert? linuxownt Linux - General 2 06-26-2003 04:38 PM
My iptables script is /etc/sysconfig/iptables. How do i make this baby execute on boo ForumKid Linux - General 3 01-22-2002 07:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration