<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to open a port in ipchains in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202387#M10259</link>
    <description>Oops; upper case L in -nvL&lt;BR /&gt;&lt;BR /&gt;output is:&lt;BR /&gt;&lt;BR /&gt;Chain input (policy ACCEPT: 1085 packets, 449583 bytes):&lt;BR /&gt; pkts bytes target     prot opt    tosa tosx  ifname     mark       outsize  source                destination           ports&lt;BR /&gt;    0     0 ACCEPT     udp  ------ 0xFF 0x00  *                              64.91.3.46           0.0.0.0/0             53 -&amp;gt;   *&lt;BR /&gt;    0     0 ACCEPT     udp  ------ 0xFF 0x00  *                              208.34.220.20        0.0.0.0/0             53 -&amp;gt;   *&lt;BR /&gt;   32  4466 ACCEPT     udp  ------ 0xFF 0x00  *                              127.0.0.1            0.0.0.0/0             53 -&amp;gt;   *&lt;BR /&gt;    0     0 ACCEPT     icmp ------ 0xFF 0x00  *                              0.0.0.0/0            0.0.0.0/0             * -&amp;gt;   *&lt;BR /&gt;Chain forward (policy DENY: 0 packets, 0 bytes):&lt;BR /&gt; pkts bytes target     prot opt    tosa tosx  ifname     mark       outsize  source                destination           ports&lt;BR /&gt;    0     0 MASQ       all  ------ 0xFF 0x00  eth0                           0.0.0.0/0            0.0.0.0/0             n/a&lt;BR /&gt;Chain output (policy ACCEPT: 1080 packets, 451779 bytes):&lt;BR /&gt;&lt;BR /&gt;service ipchains stop&lt;BR /&gt;&lt;BR /&gt;Turned off the service successfully; tried the connection; still wouldn't connect to the service but other internet connections went as usual.&lt;BR /&gt;&lt;BR /&gt;Now I'm wondering about my Apache Proxy. Also wondering if I need the ipchains MASQ. I think I needed MASQ to get POP 3 working.&lt;BR /&gt;&lt;BR /&gt;Thanks for any thoughts; I paid the county for the service; sure would like to use it. I'll also check with the service tech again.</description>
    <pubDate>Thu, 26 Feb 2004 09:46:13 GMT</pubDate>
    <dc:creator>Vernon Brown_4</dc:creator>
    <dc:date>2004-02-26T09:46:13Z</dc:date>
    <item>
      <title>How to open a port in ipchains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202381#M10253</link>
      <description>I need to open port 1494 for input and output so that I can use the county land survey database.&lt;BR /&gt;&lt;BR /&gt;I tried putting in ipchains the following:&lt;BR /&gt;&lt;BR /&gt;-A input -s 0/0 -d 0/0 1494 -p tcp -y -j ACCEPT&lt;BR /&gt;-A output -s 0/0 -d 0/0 1494 -p tcp -y -j ACCEPT&lt;BR /&gt;&lt;BR /&gt;I can't connect; the county tech says my firewall is blocking port 1494. Can anyone find my error in the ipchains entry ????&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Vern</description>
      <pubDate>Wed, 25 Feb 2004 14:56:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202381#M10253</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2004-02-25T14:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a port in ipchains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202382#M10254</link>
      <description>It depends on what the rest of your firewall looks like, but here's my guess.&lt;BR /&gt;&lt;BR /&gt;IPChains makes all incoming packets go through the 'forward' chain first, then the 'input' chain (for packets destined for the local host).&lt;BR /&gt;&lt;BR /&gt;I'm picking port 1494 is not being allowed through the forward chain.&lt;BR /&gt;&lt;BR /&gt;Try adding the same rule on your forward chain, as you've added on your input chain.</description>
      <pubDate>Wed, 25 Feb 2004 21:12:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202382#M10254</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-02-25T21:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a port in ipchains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202383#M10255</link>
      <description>Thanks for your response Stuart; below is my  &lt;BR /&gt;/etc/sysconfig/ipchains. I have two other ipchains entries in rc.local to MASQ my LAN onto the internet. &lt;BR /&gt;&lt;BR /&gt;Looking at Altoona LUG Annotated IPChains Examples, it seems the first input below should be DENY. When I set it to DENY the server blocks everything. It seems to ignore the ACCEPT lines that follow. I'll try your suggestion.&lt;BR /&gt;&lt;BR /&gt;Vern&lt;BR /&gt;&lt;BR /&gt;:input ACCEPT&lt;BR /&gt;:forward ACCEPT&lt;BR /&gt;:output ACCEPT&lt;BR /&gt;-A input -s 0/0 -d 0/0 -p 1 -j ACCEPT&lt;BR /&gt;-A input -s 0/0 -d 0/0 1494 -p 0 -y -j ACCEPT&lt;BR /&gt;-A output -s 0/0 -d 0/0 1494 -p 0 -y -j ACCEPT&lt;BR /&gt;-A input -s 0/0 -d 0/0 53 -p tcp -y -j ACCEPT&lt;BR /&gt;-A input -s 0/0 -d 0/0 110 -p tcp -y -j ACCEPT&lt;BR /&gt;-A input -s 0/0 -d 0/0 25 -p tcp -y -j ACCEPT&lt;BR /&gt;-A input -s 0/0 -d 0/0 80 -p tcp -y -j ACCEPT&lt;BR /&gt;-A input -s 0/0 -d 0/0 21 -p tcp -y -j ACCEPT&lt;BR /&gt;-A input -s 0/0 -d 0/0 23 -p tcp -y -j ACCEPT&lt;BR /&gt;-A input -s 0/0 67:68 -d 0/0 67:68 -p udp -i eth0 -j ACCEPT&lt;BR /&gt;-A input -s 0/0 67:68 -d 0/0 67:68 -p udp -i eth1 -j ACCEPT&lt;BR /&gt;-A input -s 0/0 -d 0/0 -i lo -j ACCEPT&lt;BR /&gt;-A input -p tcp -s 0/0 -d 0/0 0:1023 -y -j REJECT&lt;BR /&gt;-A input -p tcp -s 0/0 -d 0/0 2049 -y -j REJECT&lt;BR /&gt;-A input -p udp -s 0/0 -d 0/0 0:1023 -j REJECT&lt;BR /&gt;-A input -p udp -s 0/0 -d 0/0 2049 -j REJECT&lt;BR /&gt;-A input -p tcp -s 0/0 -d 0/0 6000:6009 -y -j REJECT&lt;BR /&gt;-A input -p tcp -s 0/0 -d 0/0 7100 -y -j REJECT&lt;BR /&gt;"ipchains" 25L, 1126C</description>
      <pubDate>Wed, 25 Feb 2004 22:07:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202383#M10255</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2004-02-25T22:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a port in ipchains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202384#M10256</link>
      <description>What you've shown us here is missing a few lines.&lt;BR /&gt;&lt;BR /&gt;Can I get you to issue:&lt;BR /&gt;&lt;BR /&gt;ipchains -nvL&lt;BR /&gt;&lt;BR /&gt;And send the results of that.&lt;BR /&gt;&lt;BR /&gt;Changing the default policy for the input chain to 'DENY' will break things.&lt;BR /&gt;&lt;BR /&gt;It's currently configured as a SYN firewall.  Basically, it's dropping packets (the REJECT lines) if they are new connections.  That's about as good as you can get with IPChains.&lt;BR /&gt;&lt;BR /&gt;My thoughts as to the forward chain are incorrect based upon what you've shown thus far however.&lt;BR /&gt;&lt;BR /&gt;Need more info I'm afraid ;)</description>
      <pubDate>Wed, 25 Feb 2004 22:58:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202384#M10256</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-02-25T22:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a port in ipchains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202385#M10257</link>
      <description>I think we could get a little more by turning on enhanced loggging.&lt;BR /&gt;&lt;BR /&gt;Then you can look at the logs and figure things out.&lt;BR /&gt;&lt;BR /&gt;Simple tactic.&lt;BR /&gt;&lt;BR /&gt;Turn the firewall off&lt;BR /&gt;&lt;BR /&gt;service ipchains stop&lt;BR /&gt;&lt;BR /&gt;Try the transaction then. If it still doesn't work its not the firewall blocking it. If it does work at least you are sure of the suspect.&lt;BR /&gt;&lt;BR /&gt;I did an ipchains to iptables conversion on my old 7.3 Server(just upraded sunday, i miss it sniff*). I'd be happy to help with that conversion.&lt;BR /&gt;&lt;BR /&gt;It might be easier to make this all work in iptables.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 26 Feb 2004 00:26:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202385#M10257</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-26T00:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a port in ipchains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202386#M10258</link>
      <description>Following is result of the ipchains -nvl:&lt;BR /&gt;&lt;BR /&gt;[root@linda /root]# ipchains -nvl&lt;BR /&gt;ipchains: no command specified&lt;BR /&gt;Try `ipchains -h' or 'ipchains --help' for more information.&lt;BR /&gt;&lt;BR /&gt;Thanks Stuart; must be missing something in the command :o)  The Linux is RedHat 7.1; I need to upgrade, I know.&lt;BR /&gt;&lt;BR /&gt;Thanks SEP; I'll try your suggestion; only thing; I'm using IP MASQ. Might break my internet access when I stop ipchanins. &lt;BR /&gt;&lt;BR /&gt;Vern</description>
      <pubDate>Thu, 26 Feb 2004 09:07:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202386#M10258</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2004-02-26T09:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a port in ipchains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202387#M10259</link>
      <description>Oops; upper case L in -nvL&lt;BR /&gt;&lt;BR /&gt;output is:&lt;BR /&gt;&lt;BR /&gt;Chain input (policy ACCEPT: 1085 packets, 449583 bytes):&lt;BR /&gt; pkts bytes target     prot opt    tosa tosx  ifname     mark       outsize  source                destination           ports&lt;BR /&gt;    0     0 ACCEPT     udp  ------ 0xFF 0x00  *                              64.91.3.46           0.0.0.0/0             53 -&amp;gt;   *&lt;BR /&gt;    0     0 ACCEPT     udp  ------ 0xFF 0x00  *                              208.34.220.20        0.0.0.0/0             53 -&amp;gt;   *&lt;BR /&gt;   32  4466 ACCEPT     udp  ------ 0xFF 0x00  *                              127.0.0.1            0.0.0.0/0             53 -&amp;gt;   *&lt;BR /&gt;    0     0 ACCEPT     icmp ------ 0xFF 0x00  *                              0.0.0.0/0            0.0.0.0/0             * -&amp;gt;   *&lt;BR /&gt;Chain forward (policy DENY: 0 packets, 0 bytes):&lt;BR /&gt; pkts bytes target     prot opt    tosa tosx  ifname     mark       outsize  source                destination           ports&lt;BR /&gt;    0     0 MASQ       all  ------ 0xFF 0x00  eth0                           0.0.0.0/0            0.0.0.0/0             n/a&lt;BR /&gt;Chain output (policy ACCEPT: 1080 packets, 451779 bytes):&lt;BR /&gt;&lt;BR /&gt;service ipchains stop&lt;BR /&gt;&lt;BR /&gt;Turned off the service successfully; tried the connection; still wouldn't connect to the service but other internet connections went as usual.&lt;BR /&gt;&lt;BR /&gt;Now I'm wondering about my Apache Proxy. Also wondering if I need the ipchains MASQ. I think I needed MASQ to get POP 3 working.&lt;BR /&gt;&lt;BR /&gt;Thanks for any thoughts; I paid the county for the service; sure would like to use it. I'll also check with the service tech again.</description>
      <pubDate>Thu, 26 Feb 2004 09:46:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202387#M10259</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2004-02-26T09:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a port in ipchains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202388#M10260</link>
      <description>I tried some more things with the tech for the system I'm trying to access:&lt;BR /&gt;&lt;BR /&gt;Tried telnet to the IP with 1492 as port. Times out when trying to connect with anything on my LAN; connects Ok from the server console itself. Also connects Ok from the server with IPChains enabled.&lt;BR /&gt;&lt;BR /&gt;Also connects when I telnet to my server then telnet from there to the remote IP port 1492.&lt;BR /&gt;&lt;BR /&gt;Puzzle !!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Feb 2004 11:09:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202388#M10260</guid>
      <dc:creator>Vernon Brown_1</dc:creator>
      <dc:date>2004-02-26T11:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a port in ipchains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202389#M10261</link>
      <description>I meant port 1494 -- :o(</description>
      <pubDate>Thu, 26 Feb 2004 11:12:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202389#M10261</guid>
      <dc:creator>Vernon Brown_1</dc:creator>
      <dc:date>2004-02-26T11:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a port in ipchains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202390#M10262</link>
      <description>After spending the day working on this problem I just realized I can't ping or telnet to anything on the internet from inside my LAN. Mail and http both work. Here's my network layout:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                     |&lt;BR /&gt;                  Internet&lt;BR /&gt;                     |&lt;BR /&gt;                   eth0&lt;BR /&gt;                     |&lt;BR /&gt;      Firewall RedHat 7.1 Apache (HP 8500)&lt;BR /&gt;                IPChains MASQ&lt;BR /&gt;                     |&lt;BR /&gt;                   eth1&lt;BR /&gt;                     |&lt;BR /&gt;        ------------LAN------------&lt;BR /&gt;        |            |            |&lt;BR /&gt;      eth0          eth0         eth0&lt;BR /&gt;     Windows     SuSE 9.0      Windows&lt;BR /&gt;                 httpd dns&lt;BR /&gt;&lt;BR /&gt;The SuSE server is a development box to replace the Apache 7.1 eventually.&lt;BR /&gt;&lt;BR /&gt;I'm about ready for IPTables. My fear is that I might break by internet access completely. &lt;BR /&gt;&lt;BR /&gt;Vern</description>
      <pubDate>Thu, 26 Feb 2004 16:12:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202390#M10262</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2004-02-26T16:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a port in ipchains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202391#M10263</link>
      <description>In case anyone is still following this thread:&lt;BR /&gt;&lt;BR /&gt;I found one big error; last time I reformatted and re-installed RedHat 7.1 Linux I forgot that I have to apply the ipchains MASQ to ppp0, not eth0.&lt;BR /&gt;&lt;BR /&gt;I now can telnet from inside my firewall to the remote service's port 1494.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Feb 2004 18:20:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202391#M10263</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2004-02-26T18:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a port in ipchains</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202392#M10264</link>
      <description>SUCCESS !!&lt;BR /&gt;&lt;BR /&gt;It's now working; the problem all along was masqurading the wrong device. Didn't need an ipchains entry except for the MASQ.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help; kept me going.&lt;BR /&gt;&lt;BR /&gt;Vern</description>
      <pubDate>Thu, 26 Feb 2004 18:53:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-port-in-ipchains/m-p/3202392#M10264</guid>
      <dc:creator>Vernon Brown_1</dc:creator>
      <dc:date>2004-02-26T18:53:28Z</dc:date>
    </item>
  </channel>
</rss>

