* Regarding RedHat v7.2 and Echolink!
@ 2002-12-30 4:42 Bill Walton
2002-12-30 4:53 ` Edson Pereira
2002-12-30 22:24 ` terry
0 siblings, 2 replies; 3+ messages in thread
From: Bill Walton @ 2002-12-30 4:42 UTC (permalink / raw)
To: LINUX HAMS MAILING LIST
Gentlemen -
I have a question that I feel might pertain to this list. I am running
my own domain
(kj6eo.com) and my RedHat v7.2 server also serves up an internet
connection to
all the machines on my LAN. "ETH0" is connected directly to my ADSL router
and "ETH1" is connected to my HUB. "ETH1" carries the IP address of 192.168
.1.1 and "IP-forwarding" is enabled:
echo "1" > /proc/sys/net/ipv4/ip_forward
and ip masquerading is set for "ETH1":
ipchains -A forward -s 192.168.1.0/24 -d 0/0 -j MASQ
I am also running the RedHat v7.2 firewall which consists of a dozen or so
ipchains commands located at /etc/sysconfig/ipchains.
MY QUESTION:
I have installed "Echolink" software on my Windoze 98 box on the LAN. My
DHCP server serves up a static IP of 192.168.1.10 to the Windoze box.
Echolink uses udp ports 5198 and 5199 and tcp port 5200. So, I opened up
tcp port 5200 via the "ipchains file"
ipchains -A input -s 0/0 -d 0/0 5200 -p tcp -y -j ACCEPT
The firewall is not configured to do anything to udp ports 5198 or 5199.
Via the
tcpdump command watching everything on eth0 I can see that the return
packets
from the echolink server are getting a "udp port 5198 unreachable error".
Besides accepting tcp 5200 do I have to also masquerade it and or
forward it over
to eth1? Also do the udp ports 5198 and 5199 have to be forwarded or
masqueraded?
Any suggestions that you could offer would be greatly appreciated. I
can make
my firewall "ipchains" file available to you if necessary!
Regards,
Bill KJ6EO
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Regarding RedHat v7.2 and Echolink!
2002-12-30 4:42 Regarding RedHat v7.2 and Echolink! Bill Walton
@ 2002-12-30 4:53 ` Edson Pereira
2002-12-30 22:24 ` terry
1 sibling, 0 replies; 3+ messages in thread
From: Edson Pereira @ 2002-12-30 4:53 UTC (permalink / raw)
To: Bill Walton; +Cc: LINUX HAMS MAILING LIST
Bill,
I believe you need IP port forwarding rules in addition to the rules you
already have.
The information on the pages
http://www.praveen-linux.8m.com/art/portforward.htm
and
http://www.thelinuxreview.com/howto/IP-MASQ/x1525.htm
Will guide you on how to make the configuration.
73,
-- Edson, 7n4ncl
On Sun, 29 Dec 2002, Bill Walton wrote:
> Gentlemen -
>
> I have a question that I feel might pertain to this list. I am running
> my own domain
> (kj6eo.com) and my RedHat v7.2 server also serves up an internet
> connection to
> all the machines on my LAN. "ETH0" is connected directly to my ADSL router
> and "ETH1" is connected to my HUB. "ETH1" carries the IP address of 192.168
> .1.1 and "IP-forwarding" is enabled:
>
> echo "1" > /proc/sys/net/ipv4/ip_forward
>
> and ip masquerading is set for "ETH1":
>
> ipchains -A forward -s 192.168.1.0/24 -d 0/0 -j MASQ
>
> I am also running the RedHat v7.2 firewall which consists of a dozen or so
> ipchains commands located at /etc/sysconfig/ipchains.
>
> MY QUESTION:
>
> I have installed "Echolink" software on my Windoze 98 box on the LAN. My
> DHCP server serves up a static IP of 192.168.1.10 to the Windoze box.
> Echolink uses udp ports 5198 and 5199 and tcp port 5200. So, I opened up
> tcp port 5200 via the "ipchains file"
>
> ipchains -A input -s 0/0 -d 0/0 5200 -p tcp -y -j ACCEPT
>
> The firewall is not configured to do anything to udp ports 5198 or 5199.
> Via the
> tcpdump command watching everything on eth0 I can see that the return
> packets
> from the echolink server are getting a "udp port 5198 unreachable error".
>
> Besides accepting tcp 5200 do I have to also masquerade it and or
> forward it over
> to eth1? Also do the udp ports 5198 and 5199 have to be forwarded or
> masqueraded?
>
> Any suggestions that you could offer would be greatly appreciated. I
> can make
> my firewall "ipchains" file available to you if necessary!
>
> Regards,
>
> Bill KJ6EO
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Regarding RedHat v7.2 and Echolink!
2002-12-30 4:42 Regarding RedHat v7.2 and Echolink! Bill Walton
2002-12-30 4:53 ` Edson Pereira
@ 2002-12-30 22:24 ` terry
1 sibling, 0 replies; 3+ messages in thread
From: terry @ 2002-12-30 22:24 UTC (permalink / raw)
To: linux-hams
... ciao:
> I am running my own domain ... and an internet connection to my LAN.
> "ETH0" is connected my ADSL router and "ETH1" to my HUB.
i employ that same topology, however, i have no need for DHCP as all
my machines answer to entries in 'etc/hosts'.
> ipchains -A forward -s 192.168.1.0/24 -d 0/0 -j MASQ
i'm running RH 6.2 with a kernel of 2.2.23, so do not have the 7.2
firewall stuff. i use 'bastille' to provide that functionality. it
specifies the following 'format' for the MASQ stuff.
${IPCHAINS} -A forward -s ${net} -i ${pub} -j MASQ
here, the "-i ${pub}" is 'eth0' and 'ipchains --list' offers:
MASQ all ------ 192.168.20.0/26 0.0.0.0/0 n/a
hope that helps ...
--
73 , de WD0FPC
aka: terry
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-30 22:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-30 4:42 Regarding RedHat v7.2 and Echolink! Bill Walton
2002-12-30 4:53 ` Edson Pereira
2002-12-30 22:24 ` terry
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.