/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
/* ALSO: Don't quote this header. It makes you look lame :-) */
Rafael Wicki wrote:
> I hope, somebody can help me
> I set a ipmasq from TCP/IP-Nr. 212.4.72.76:32001 to 192.168.5.40:80. Ipmasq
> do that well. But ipmasq send the TCP/IP-Nr. 192.168.5.40:80 to the client
> and not the TCP/IP-Nr. 212.4.72.76:32001.
> What i do wrong?
> Thank's
>
>
>
> corvus: # route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.4.2 * 255.255.255.255 UH 0 0 0 ppp0
> 192.168.5.0 * 255.255.255.0 U 0 0 0 eth1
> 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
> loopback * 255.0.0.0 U 0 0 0 lo
> default 192.168.4.2 0.0.0.0 UG 0 0 0 ppp0
> corvus: # ipchains -L -M
> IP masquerading entries
> prot expire source destination ports
> TCP 00:49.37 192.168.5.40 193.135.147.131 http (32001) ->
> 10015
> corvus: # ipchains -L
> Chain input (policy ACCEPT):
> Chain forward (policy ACCEPT):
> target prot opt source destination ports
> MASQ all ----l- anywhere anywhere n/a
> Chain output (policy ACCEPT):
> corvus: # ipmasqadm portfw -l
> prot localaddr rediraddr lport rport pcnt pref
> TCP 212.4.72.76 192.168.5.40 32001 http 10 10
> corvus: #
what is 212.4.72.76 the address of? it looks like your ppp0 address
is private as well. if so, no packets will ever arrive for 212.4.72.76
and so no port forwarding can happen.
raf
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ --
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.