On my server I want to route my internet traffic over my eth0:2
alias. When I use this command:
sudo iptables -t nat -A POSTROUTING -s 10.8.0.4 -o eth0:2 -j MASQUERADE
It returns this:
Warning: weird character in interface `eth0:2' (No aliases, :, ! or *).
Is there any way to route only traffic from openvpn ip 10.8.0.4 over that single ip?
Thanks for you help,