<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: IP Masq over CIPE tunnel.
From: Robert Davidson <puttputt,AT,ebbs,DOT,com,DOT,au>
Date: Tue, 21 Aug 2001 15:07:47 +0200

Hi all,

Does anyone know of any reason why no matter what I do I can not get
IP Masquerading working over the CIPE tunnel (Kernel 2.4.8 and 2.4.9).

The default gateway points to the remove end of the cipe tunnel.

The iptables command I'm using to do the masquerading is:

  iptables -t nat -A POSTROUTING -o cipcb0 -s 192.168.1.0/24 -j
MASQUERADE

Using tcpdump on the cipcb0 interface says the packets are coming from
192.168.1.1, which they are, but they're supposed to be getting
masqueraded.

  tcpdump: listening on cipcb0
  22:46:53.068355 192.168.1.1.33646 > 203.34.65.50.33435:  udp 10 [ttl
1]
  22:46:58.066598 192.168.1.1.33646 > 203.34.65.50.33436:  udp 10 [ttl
1]
  22:47:03.066570 192.168.1.1.33646 > 203.34.65.50.33437:  udp 10 [ttl
1]

I'm using the traceroute command to specify the source address of the
packets, like so:

  traceroute -n -s 192.168.1.1 203.34.65.50

eth0 on the pc has an address of 192.168.1.1.

I've also tried flushing all firewall rules with no success.

Any ideas?

-- 
Regards,
Robert Davidson.
http://www.mlug.org.au/





<< | Thread Index | >> ]    [ << | Date Index | >> ]