Help adding two static nat rules
I want to add these two static nat rules via the pfsense gui (running latest version) how would i go about doing that ?
iptables -t nat -A PREROUTING -d 18.104.22.168 -j DNAT –to-destination 22.214.171.124
iptables -t nat -A PREROUTING -d 126.96.36.199 -j DNAT --to-destination 188.8.131.52
That would be through Firewall: NAT: Outbound.
I can't seem to get it to work, can anyone tell what to put in the gui
so you want to redirect queries to googledns to voxel? Why would be my first question ;)
But how to do it would be like this - going to use opendns as my example because its easy to show that its working because there is a url to test if using opendns.
So as you can see from first attachment - my box is set to use 184.108.40.206 for dns - and if I use the http://www.opendns.com/welcome/ check url to see if using opendns.. Tells my nope not using it.
But if I do a nat, which no is not on the outbound tab btw, but you would set the interface to your lan interface vs the wan under the nat tab.
See it says using opendns, but my box is pointed to google.. Just use whatever dns IP you want to redirect to in the rule vs my example of opendns. BTW once you make the nat(portforward) make sure you flush your local dns cache and restart your browser or close the tab, etc. - they like to cache dns as well.
Thank you! just got it working :D
To answer your question: I need that NAT to be able to use the unblockus service with my chromecast device which is hardcoded by google to
use 220.127.116.11 and 18.104.22.168 so it's kind of a work around.
I just could't figure out how to build the NAT rule in the gui, so ones again thanks for your help :)