LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Opening a Linux port on Squid (https://www.linuxquestions.org/questions/linux-newbie-8/opening-a-linux-port-on-squid-301399/)

David@330 03-14-2005 06:19 AM

Opening a Linux port on Squid
 
Hi All

Can someone help, I am trying to open port 15000 on my Linux Redhat 7.3

Thanks

overlord73 03-14-2005 06:54 AM

please specify your intention.
a) do you want to open a port on squid or b) on your box ?

a) -> squid.conf (default http_port 3128)
b) -> iptablesDefault:

???

David@330 03-14-2005 08:03 AM

Hi overlord73

Sorry I was looking at Linux Config, I thought it was squid config. I want to open a port on Linux particular port number 15000.

Thanks

superpinjal 03-15-2005 06:17 PM

Hmm .. maybe u just need to learn more bout firewall rules, if u want to open some ports on your machine you have to make sure it won't harm you. Okieee .. if u want to open some ports on your machine you have to add this rule to your firewall rules (i'm using shorewall for my firewall /etc/shorewall/rules) :

.::if u want to allow your local network to access all resources on port TCP 15000
ACCEPT:info loc all tcp 15000

.::if u want to allow access from internet to your firewall on port TCP 15000
ACCEPT:info net fw tcp 15000

.::if u want to forward traffic from internet to other machine (not the firewall machine) on TCP 15000
DNAT net loc:ip.address.other.machine tcp 15000


and so on

okiee dookieee

nuhun euyy
regards
maturnuwun
tenkyu

:D


All times are GMT -5. The time now is 10:07 PM.