Networking Forums

Networking Forums > Computer Networking > Linux Networking > Raw IP protocol forwarding

Reply
Thread Tools Display Modes

Raw IP protocol forwarding

 
 
Alvaro
Guest
Posts: n/a

 
      12-09-2005, 11:04 AM
Hi to you all,

Is it possible to use iptables to forward raw ip packets? What I want to
do is to forward, for instance, RSVP (protocol number 46) packets to a
local machine different from the gateway: that is to change destination
ip and resend it.


---------------------
DestIP Prot | Linux PC as Gateway |
--------[208.3.3.10 (46) ]-----> | (iptables) | -------->
| --------------------|
| |
208.3.3.10 192.168.1.1

---------------------
DestIP Prot | Local Machine |
--------[192.168.1.2 (46) ]-----> | |
|---------------------
|
192.168.1.2

Thanks.
 
Reply With Quote
 
 
 
 
Allen Kistler
Guest
Posts: n/a

 
      12-09-2005, 04:02 PM
Alvaro wrote:
> Is it possible to use iptables to forward raw ip packets? What I want to
> do is to forward, for instance, RSVP (protocol number 46) packets to a
> local machine different from the gateway: that is to change destination
> ip and resend it.


-A PREROUTING -i eth0 -p 46 -j DNAT --to 192.168.1.2
 
Reply With Quote
Reply

Thread Tools
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco 827 protocol forwarding Michael Network Routers 0 07-23-2005 05:21 AM
Protocol Chart - Learn how to use a Protocol Analyzer news.comcast.giganews.com Network Routers 0 08-21-2004 04:53 PM
Protocol Chart - Learn how to use a Protocol Analyzer news.comcast.giganews.com Network Routers 0 08-21-2004 04:51 PM
Protocol Chart - Learn how to use a Protocol Analyzer news.comcast.giganews.com Windows Networking 0 08-21-2004 04:34 PM
Port forwarding and the H.323 protocol JP Broadband Hardware 10 03-05-2004 02:41 PM



1 2 3 4 5 6 7 8 9 10 11