As of May 31, 2023, we have updated our Code of Conduct.

New answers tagged

0 votes

iptables rules - Forward/Masquerade sevices using nat table

I was able to achieve my goal with the following rules: # ... # Allow 'admin' connection to 'jumpbox' SSH (on 2222 port) iptables -t nat -A PREROUTING -s 10.9.0.2 -d 10.9.0.254 ...
Giuseppe's user avatar
  • 101
0 votes

Cannot access website in LAN. NAT Hairpinning in nftables

To do NAT Hairpinning in nftables you can add a DNAT rule which is checking if the destination address of the packages is the external ip of your network. You also need to do masquerading on the ...
Martin Mårtensson's user avatar
0 votes

INPUT, OUTPUT or Forward Chain

input: internet -> router <- my_comp 
output: internet <- router -> my_comp

 forward: internet <- router <- my_comp
 internet -> router -> my_comp
Oleh's user avatar
  • 1
2 votes
Accepted

Google Cloud Engine - Network unreachable (with NAT)

As per the information provided, it is observed that the Compute Engine instance is in us-central1-c zone whereas Cloud NAT Gateway and Cloud Router are in northamerica-northeast1 region. It clearly ...
Kiran Kotturi's user avatar

Top 50 recent answers are included