Solved]Opening Network ports

Questions about networking.
In the Original Post please also include the output of inxi -FNzxx
User avatar
xendistar
Posts: 510
Joined: 08 Jun 2014 08:17
Location: Bournemouth, UK

Solved]Opening Network ports

Postby xendistar » 14 Feb 2015 11:30

If I want to open certain network ports which are not currently listed in /etc/services (so I assume are closed) do I simply edit the file and add the three ports along with TCP\UDP to open the ports. I also assume I need to stop start the network service??

Tim

User avatar
xendistar
Posts: 510
Joined: 08 Jun 2014 08:17
Location: Bournemouth, UK

Re: Opening Network ports

Postby xendistar » 15 Feb 2015 14:35

I have sorted this one out, I did not realsie I had iptables running. Once I found out I had I was able to run the following command after some more trial and error.

iptables -A INPUT -p udp --dport 3977 -j ACCEPT

This was followed by a

iptables-save

It unfortunately did not resolve my issue which turned out to be a program configuration error

User avatar
FinnFann
Posts: 109
Joined: 02 Feb 2015 10:47
Location: North Carolina, USA
Contact:

Re: Opening Network ports

Postby FinnFann » 15 Feb 2015 16:05

xendistar wrote:I have sorted this one out, I did not realsie I had iptables running. Once I found out I had I was able to run the following command after some more trial and error.

iptables -A INPUT -p udp --dport 3977 -j ACCEPT

This was followed by a

iptables-save

It unfortunately did not resolve my issue which turned out to be a program configuration error
I think you can also use the firewall configuration programs. I believe UFW is installed. KDE should have an entry for it in the settings menu, and I believe XFCE has gufw to configure it.
ImageLemonade

User avatar
xendistar
Posts: 510
Joined: 08 Jun 2014 08:17
Location: Bournemouth, UK

Re: Solved]Opening Network ports

Postby xendistar » 15 Feb 2015 16:52

I uninstalled UFW from my install which is why I did not realise that iptables were in operations. But at least now all is sorted.


Return to “Networking”

Who is online

Users browsing this forum: No registered users and 1 guest