Results 1 to 2 of 2
Hi.
I am a VPN ( Virtual private network ) service provider.
I want to block outgoing port 6881 on my linux debian server with following commands :
vpn1:~# iptables ...
- 03-25-2011 #1Just Joined!
- Join Date
- Mar 2011
- Posts
- 1
Linux IP table PORT blocking issue
Hi.
I am a VPN ( Virtual private network ) service provider.
I want to block outgoing port 6881 on my linux debian server with following commands :
vpn1:~# iptables -A OUTPUT -p tcp -dport 6881 -j DROP
Bad argument `6881'
Try `iptables -h' or 'iptables --help' for more information.
But i am getting error.
Please Help me !
- 03-25-2011 #2
It should be "--dport" (two dashes).
DISTRO=Arch
Registered Linux User #388732


Reply With Quote