Re: iptables Forwarding problem
From: Jacob Heider (lord-jacob_at_comcast.net)
Date: 10/29/03
- Next message: Andrew: "Re: xmms install problem"
- Previous message: Jacob Heider: "Re: Can't see cdrom in RH9"
- In reply to: Arne Modersohn: "iptables Forwarding problem"
- Next in thread: Arne Modersohn: "Re: iptables Forwarding problem"
- Reply: Arne Modersohn: "Re: iptables Forwarding problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Oct 2003 01:32:37 GMT
On Tue, 28 Oct 2003 23:40:40 +0100, Arne Modersohn wrote:
> Hello,
> I want to forward every incoming connection (TCP) on Port 8080 to the
> IP-Adress 192.168.2.10
> After reading the manuals and some tutorials I used this command:
>
> iptables -A PREROUTING -t nat -p tcp --dport 8080 -j DNAT --to
> 192.168.2.10
>
> I get no errors, but it don't work.
>
> Anyone know whats going wrong?
>
> Thank you!
RH displays ip forwarding by default. Add
net.ipv4.ip_forward = 1
to /etc/sysctl.conf. For this change to take place without a reboot, also
do:
echo 1 >/proc/sys/net/ipv4/ip_forward
Jacob
- Next message: Andrew: "Re: xmms install problem"
- Previous message: Jacob Heider: "Re: Can't see cdrom in RH9"
- In reply to: Arne Modersohn: "iptables Forwarding problem"
- Next in thread: Arne Modersohn: "Re: iptables Forwarding problem"
- Reply: Arne Modersohn: "Re: iptables Forwarding problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|