You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My PC
ip: 192.168.1.3
gateway: 192.168.1.1
dns: 192.168.1.1
I add a iptables rule in my gateway to forward dns request to AdguardHome. iptables -t nat -A PREROUTING -i eth1 -p udp --dport 53 -j DNAT --to 192.168.1.2
In AdguardHome query log, I got the gateway ip address. How can I get the real source ip address?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Gateway
ip: 192.168.1.1
AdguardHome
ip: 192.168.1.2
My PC
ip: 192.168.1.3
gateway: 192.168.1.1
dns: 192.168.1.1
I add a iptables rule in my gateway to forward dns request to AdguardHome.
iptables -t nat -A PREROUTING -i eth1 -p udp --dport 53 -j DNAT --to 192.168.1.2
In AdguardHome query log, I got the gateway ip address. How can I get the real source ip address?
Beta Was this translation helpful? Give feedback.
All reactions