I set up NAT on my computer the other day and it was working fine. It has now stopped working. I use NAT to connect my PS4 to the Internet through my VPN tunnel. I am using UFW. Here are my changes to the configuration files:
IPV6=yes DEFAULT_INPUT_POLICY="DROP" DEFAULT_OUTPUT_POLICY="ACCEPT" DEFAULT_FORWARD_POLICY="ACCEPT"
net/ipv4/ip_forward=1 net/ipv6/conf/default/forwarding=1 net/ipv6/conf/all/forwarding=1
#NAT tables rules *nat :POSTROUTING ACCEPT [0:0] #Forward traffic through tun0 -A POSTROUTING -s 192.168.3.0/30 -o tun0 -j MASQUERADE # Commit(not to delete) COMMIT
I have also tried to disable my VPN and NAT with the Wi-Fi card as output interface. I also used tcpdump and Wireshark and all I seem to see on the Ethernet card is the PS4 asking who the gateway is and the gateway replying with its MAC address. I also noticed a few MDNS packets. I also looked at the tunnel interface and could not seem to notice any connection from the PS4. The PS4 connects to the Internet using its own Wi-Fi adaptor. I also disabled&reenabled ufw, restarted it, rebooted my computer.