I am using a machine (Ubuntu 12.04.3 LTS x64) with only WLAN network access running a MythTV server.
The machine is used as a video recorder. The MythTV backend is accessed by the IP address
192.168.2.124 bound to
wlan interface. In case of
wlan disconnection, recording television would not be possible.
Therefore I want to redirect connections from my machine to
192.168.2.124 directly to
I already tried
- adding a line to the file
$iptables -t nat -A OUTPUT -d 192.168.2.124 -j DNAT --to-destination 127.0.0.1
Everything I get after disconnecting the wireless network is:
$ ping 192.168.2.124 Network is unreachable
Am I missing something?