Score:0

Nat routing from static IP trow VPN not working

in flag

I try to rout traffic coming from 185.220.xxx.xxx:53 on interface ppp0 to 192.168.1.2:53 on interface ens3. I think something wrong with my settings.

# NAT table rules
*nat
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-F
# Port Forwardings
-A PREROUTING -i ppp0 -p udp -d 185.220.xxx.xxx --dport 53 -j DNAT --to-destination 192.168.1.2:53

# Forward traffic through eth0 - Change to match you out-interface
-A POSTROUTING -s 192.168.1.2 -o ppp0 -j MASQUERADE

# don't delete the 'COMMIT' line or these nat table rules won't
# be processed
COMMIT

I followed this tutorial: https://gist.github.com/kimus/9315140

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.