I am using Gproxy software in my computer(Ubuntu 12.10). I want to allow incoming connection from only one IP adress,so that he can use internet. what settings should I configure in ufw firewall.
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
For UFW, you should make an Inbound rule which will allow you to accept connections via port 5123 (probably TCP and UDP).
For the record, and for those who use sudo iptables -A INPUT -p tcp -s [SourceIP] --dport 5123 -j ACCEPT |
|||||||||||
|

iptablesequivalent for more technical people, feel free to ignore everything below the horizontal line in my answer. (If you had said a public IP, i'd be asking you quite a few more questions before giving an answer :P) – The Lord of Time Nov 8 '12 at 15:27