Skip to playerSkip to main content
  • 10 years ago
Today we show you how to assign a dedicated IP address to each user on Linux.

Skill level: easy
Requirements: a server with 2 or more IP addresses and iptables firewall.

The following iptables rule was used in the video:
iptables -t nat -A POSTROUTING -m owner --uid-owner user1 -j SNAT --to-source 192.168.1.1
Be the first to comment
Add your comment

Recommended