Suppose I have 2 user, user1 and user2 and I have 2 network interface eth1 and eth2 How to make user1 ONLY can use eth1 and user2 ONLY can use eth2? I see couple of guide many of them are recommend using IPTABLES. But I'm using Ubuntu 20.04 and now they are using UFW. I also already create many rules using this UFW. Is that possible to set this using only UFW, not IPTABLES? If it cannot, how to set both UFW and IPTABLES without crashing each other? Thanks

  • There is no such version Ubuntu 20. – David Apr 1 at 13:05
  • Sorry, I mean 20.04 – dsc81 Apr 1 at 14:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.