On 1/04/20 10:10 am, Ranjan Maitra wrote:
sudo iptables -A OUTPUT -o cscotun0 -p tcp --dport 25 -j ACCEPT
sudo iptables -A OUTPUT -p tcp --dport 25 -j REJECT
However, what has happened is that all my mail going out has stopped?
How do I revert it back to what I used to have?
Look at the iptables man page, see the -D command. Also you should be
using iptables-save so you can easily revert when you mess up.
Also, what is going wrong?
The first rule should allow any outbound tcp packets that are destined
for the csctun0 device on port 25.
The second rule will stop any port 25 tcp packets that are not matched
by the first rule.
Are the messages that are not going through when the VPN is up? Are
they supposed to go through the VPN? Can you provide info as per the
DEBUG_README?
Peter