Mon, 24 Jun 2002 14:34:17 +0100
On Monday 24 June 2002 12:11 pm, lcef wrote:
> Hello netfilter,
> I have 2 machines, with DSL conection.
> First machine have eth0 (213.23.xxx.xxx) and second machine with a
> second ethernet named eth1(192.168.2.1).
> I have a webcam in the second machine(192.168.1.21 eth1)and i want
> who any people go to first machine (213.23.xxx.xxx)can look the
> webcam who are installed in de second machine 192.168.2.1:8080.
> In others words when you type http://213.23.xxx.xxx:8080 go to
> What rules need i to put with IPFILTER?
iptables -A PREROUTING -d 213.23.xxx.xxx -p tcp --dport 8080 -j DNAT --to
iptables -A FORWARD -d 192.168.1.21 -p tcp --dport 8080 -j ACCEPT