I have an Ubuntu server 18.04 with 2 network interfaces.

  • enp1s0 has ip address
  • enp2s0 is connected to DHCP

I am looking to forward port 8080 from any incoming traffic connected to enp2s0 to a device connected to enp1s0 which has the ip address of on port 80.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.