On Mon, Nov 26, 2001 at 09:00:16PM +1030, David Fitch wrote: > ok obviously I'm doing something wrong cos I've read the > man pages, searched the web etc etc and they all say to do: > > ipmasqadm portfw -a -P tcp -L 192.168.1.1 800 -R 192.168.1.2 80 > > (and have the ip_masq_portfw - which happens automatically > for me, and open the input port in ipchains - which I have) > > (this is 2.2.18pre21 kernels BTW) > > but it doesn't work. Telnet to 192.168.1.1 800 just gives > connection refused messages, but 192.168.1.1 reports an > accepted connection on that port, 192.168.1.2 reports nothing. > > (I'm testing it by ssh'ing to an outside host then attempting > to come back in, so it's not because I'm "inside" the network) > > What am I missing??
and on 192.168.1.2 doing netsat -a shows a connection on port 2383 from 192.168.1.1 port 800 in the SYN_SENT state and telnet just sits there - this is trying it from the internal network. The port number 2383 goes up by one each telnet attempt I do. Dave. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
