Ребята, кто знает как правильно выполнить мои написанные команды:
iptables -t mangle -A OUTPUT -s 172.20.132.91 -p tcp --sport 80 -j ROUTE --oif eth1
iptables -t mangle -A OUTPUT -s 81.20.199.2 -p tcp --sport 80 -j ROUTE --oif ppp0
или
iptables -t mangle -A OUTPUT -s 172.20.132.91 -p tcp --sport 80 -j ROUTE --gw 172.20.132.65
iptables -t mangle -A OUTPUT -s 81.20.199.2 -p tcp --sport 80 -j ROUTE --gw 81.20.199.14
lmp-server@lmp-server:~$ iptables -t mangle -A OUTPUT -s 172.20.132.91 -p tcp --sport 80 -j ROUTE --oif eth1
iptables v1.4.9: unknown option `--oif'
Try `iptables -h' or 'iptables --help' for more information.
lmp-server@lmp-server:~$ iptables -t mangle -A OUTPUT -s 81.20.199.2 -p tcp --sport 80 -j ROUTE --oif ppp0
iptables v1.4.9: unknown option `--oif'
Try `iptables -h' or 'iptables --help' for more information.
lmp-server@lmp-server:~$ itables -t mangle -A OUTPUT -s 172.20.132.91 -p tcp --sport 80 -j ROUTE --gw 172.20.132.65
No command 'itables' found, did you mean:
Command 'iptables' from package 'iptables' (main)
itables: command not found
lmp-server@lmp-server:~$ iptables -t mangle -A OUTPUT -s 81.20.199.2 -p tcp --sport 80 -j ROUTE --gw 81.20.199.14
iptables v1.4.9: unknown option `--gw'
Try `iptables -h' or 'iptables --help' for more information.
lmp-server@lmp-server:~$