Nick,
You can make these changes persist across reboots in DD-WRT by using the Adminstration/Commands/Save Firewall feature. I have
iptables -t nat -I PREROUTING -p 4 -d 82.18.43.225 -j DNAT --to 192.168.1.31 iptables -t filter -I FORWARD -p 4 -d 192.168.1.31 -j ACCEPT
I had problems with -i eth1, maybe because I was using the wrong interface. (Should it be the bridge?) Specifying an address means I'll have to change it when my external address changes, but on Virgin Media this very rarely happens.
I have separate cable modem and router, but I've been on Diamond/NTL/Virgin for a very long time - maybe their current offering isn't so flexible.
73, John G8BPQ
-----Original Message----- From: 44net-bounces+john.wiseman=cantab.net@hamradio.ucsd.edu [mailto:44net-bounces+john.wiseman=cantab.net@hamradio.ucsd.edu] On Behalf Of Nick G4IRX Sent: 09 January 2014 09:14 To: 44net@hamradio.ucsd.edu Subject: Re: [44net] known good routers that pass rip/44-net friendly in uk?
(Please trim inclusions from previous messages) _______________________________________________ Correcting my previous typo!
Something like:
iptables -t nat -A PREROUTING -i eth1 -p 4 -j DNAT --to 192.168.1.2 iptables -t filter -A FORWARD -i eth1 -p 4 -d 192.168.1.2 -j ACCEPT
the check your firewall rules with iptables -t nat -L; iptables -t filter -L
Assuming eth1 is your public ip interface and 192.168.1.2 is the ip address of your host running rip44d, this would forward any incoming protocol 4 packets to 192.168.1.2.
73 Nick G4IRX