Hi,
EDIT: SOLVED Typo
I'm running Tomato Shibby 085V on my Asus RT-N66U.
I would like to forward an ip request from LAN to another IP.
Any client on LAN trying to access 1.2.3.4 will be directed to 5.6.7.8 instead.
Something like this:
iptables -t nat -A PREROUTING -d 1.2.3.4 -p tcp -m tcp -j DNAT --to-destination 5.6.7.8
From what I remember I need to activate ip-forwarding by setting net.ipv4.ip_forward=1 in /etc/sysctl.conf in order for this to work. I don't have any sysctl.conf in my system and I feel quite lost on how to solve this.
Anyone with good Tomato/iptables knowhow who might be able to lead me in the right direction?
EDIT: SOLVED Typo
I'm running Tomato Shibby 085V on my Asus RT-N66U.
I would like to forward an ip request from LAN to another IP.
Any client on LAN trying to access 1.2.3.4 will be directed to 5.6.7.8 instead.
Something like this:
iptables -t nat -A PREROUTING -d 1.2.3.4 -p tcp -m tcp -j DNAT --to-destination 5.6.7.8
From what I remember I need to activate ip-forwarding by setting net.ipv4.ip_forward=1 in /etc/sysctl.conf in order for this to work. I don't have any sysctl.conf in my system and I feel quite lost on how to solve this.
Anyone with good Tomato/iptables knowhow who might be able to lead me in the right direction?
Last edited: