Sometimes a programme is not able to run as the Linux firewall has restricted its access due port a closed port. Well here's a workaround that works for me.
This code will open port 2234 for you:
Code: Select all
iptables -A INPUT -i eth1 -p tcp --sport 2234 -m state --state ESTABLISHED -j ACCEPT
Code: Select all
#!/bin/sh
iptables -A INPUT -i eth1 -p tcp --sport 2234 -m state --state ESTABLISHED -j ACCEPT
/usr/bin/nicotine
Remember, that some programmes require multiple ports to be opened. Just add extra iptables lines and the required port.
Cheers
Martin
PS: Sometimes your programme still won't be able to access the internet - this may due to:
1. It requires extra ports to be opened or
2. Modem firewall is blocking.
Security does not appear compromised with this procedure - I went to ShieldUp! to test and it came back as stealthed.