Skip to contentSkip to conversation

RedHat v7.2 (2.4 Kernel) and Echolink!

DISCUSSION Bill Walton 5 participants 6 messages Jan 5, 2003 – Jan 6, 2003

lore
Share & tools
lore
#0 lore raw

Hello Everyone -

I finally got Echolink working on my LAN system (Windoze98). I had to convert from "ipchains" to "iptables". After reviewing numerous "firewall scripts" and some help info from Echolink I was able to piece it all together. So using what I found along with some additions of my own I have been successful. Just in case there are others who might contact the list regarding Echolink configuration issues, I am attaching my firewall script to this message. I am sure that allot of you could have accomplished the task easier and better than I did. However, mine works and that is good enough for me!

I have received some valuable help here on the list and this is just my way of trying to contribute something in return.

73 de Bill KJ6EO

#!/bin/sh
modprobe ip_tables
#
echo -e "\n\nIPMASQ *TEST* rc.firewall ruleset for kj6eo.com (JAN 2003)\n" #The location of the iptables program IPTABLES="/sbin/iptables"
IFCONFIG="/sbin/ifconfig"
GREP="/bin/grep"
AWK="/bin/awk"
SED="/bin/sed"

echo " - Verifying that all kernel modules are ok" /sbin/depmod -a
/sbin/insmod ip_tables
/sbin/insmod ip_conntrack
/sbin/insmod ip_conntrack_ftp
/sbin/insmod iptable_nat
/sbin/insmod ip_nat_ftp

echo "- Enabling packet forwarding in the kernel"
echo "1" > /proc/sys/net/ipv4/ip_forward

echo "-Resetting the firewall and setting the default FORWARD policy to DROP" $IPTABLES -P INPUT ACCEPT
$IPTABLES -F INPUT
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -F OUTPUT
$IPTABLES -P FORWARD DROP
$IPTABLES -F FORWARD

echo "- FWD: Allow all conections OUT and only existing and related ones IN" $IPTABLES -A FORWARD -i eth0 -o eth1 -m state --state ESTABLISHED,RELATED -j ACCEPT $IPTABLES -A FORWARD -i eth1 -o eth0 -j ACCEPT
$IPTABLES -A FORWARD -j LOG

echo "- FWD: Allow Echolink tcp 5200 and udp 5198,5199 packets IN" iptables -A FORWARD -i eth0 -p tcp --dport 5200 -j ACCEPT iptables -A FORWARD -i eth0 -p udp --dport 5198 -j ACCEPT iptables -A FORWARD -i eth0 -p udp --dport 5199 -j ACCEPT

echo "- Enabling udp packet forwarding for Echolink"
EXITIF="eth0" # External (Internet Side)
INTIF="eth1" # Internal (LAN Side)

# Determine the external IP automatically
EXITIP="$IFCONFIG $EXITIF | $GREP 'inet addr' | $AWK '{print $2}' | $SED -e 's/.*://'"

# Address of LAN Computer Running Echolink
ECHOIP="192.168.1.10"

$IPTABLES -t nat -A PREROUTING -d $EXITIP -p udp --dport 5198 -i $EXITIF -j DNAT --to-destination $ECHOIP $IPTABLES -t nat -A PREROUTING -d $EXITIP -p udp --dport 5199 -i $EXITIF -j DNAT --to-destination $ECHOIP

echo "- Enabling SNAT (MASQUERADE) funtionality on eth0" $IPTABLES -t nat -A POSTROUTING -o $EXITIF -j SNAT --to $EXITIP echo -e "\nDone.\n"

#1 lore raw

Wx stations and aprs

Hello all,

Xmas was good in terms of spare time. I am still working on my active home. I now have x10 installed and fbb running (basically: though it's local; unless you log in via ax25 it still does not get/send mail or bulletins from the outside world).

Anyway - two different questions this time.

a) APRS! Any recommendations for both Linux software and maps?

b) Weather stations - I would love broadcast my local Wx status on APRS, but before I spend money unwisely, what weather stations (and associated software) has worked for any of you?

Best,
Michael VA3MVW

#2 lore raw

Re: Wx stations and aprs

You might be interested in what I am currently working on. It is in the beta stages of development, but I believe you can get a good idea of what is to come:

http://home.insightbb.com/~n4xi/

73, John Bennett
n4xi

----- Original Message -----
From: <[email protected]>
To: "LINUX HAMS MAILING LIST" <[email protected]>
Sent: Sunday, January 05, 2003 7:58 PM
Subject: Wx stations and aprs

Quoted 24 lines

Hello all,

Xmas was good in terms of spare time. I am still working on my active home. I now have x10 installed and fbb running (basically: though it's local; unless you log in via ax25 it still does not get/send mail or bulletins from the outside world).

Anyway - two different questions this time.

a) APRS! Any recommendations for both Linux software and maps?

b) Weather stations - I would love broadcast my local Wx status on APRS, but before I spend money unwisely, what weather stations (and associated software) has worked for any of you?

Best,
Michael VA3MVW

-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

Re: Wx stations and aprs

That looks really cool!

Michael VA3MVW

Quoted 41 lines · jbennett

You might be interested in what I am currently working on. It is in the beta stages of development, but I believe you can get a good idea of what is to come:

http://home.insightbb.com/~n4xi/

73, John Bennett
n4xi

----- Original Message -----
From: <[email protected]>
To: "LINUX HAMS MAILING LIST" <[email protected]>
Sent: Sunday, January 05, 2003 7:58 PM
Subject: Wx stations and aprs

Quoted 24 lines

Hello all,

Xmas was good in terms of spare time. I am still working on my active home. I now have x10 installed and fbb running (basically: though it's local; unless you log in via ax25 it still does not get/send mail or bulletins from the outside world).

Anyway - two different questions this time.

a) APRS! Any recommendations for both Linux software and maps?

b) Weather stations - I would love broadcast my local Wx status on APRS, but before I spend money unwisely, what weather stations (and associated software) has worked for any of you?

Best,
Michael VA3MVW

-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

Re: Wx stations and aprs

In reply to [email protected]
Quoted 15 lines · [email protected] a écrit :

Hello all,

Xmas was good in terms of spare time. I am still working on my active home. I now have x10 installed and fbb running (basically: though it's local; unless you log in via ax25 it still does not get/send mail or bulletins from the outside world).

Anyway - two different questions this time.

a) APRS! Any recommendations for both Linux software and maps?

b) Weather stations - I would love broadcast my local Wx status on APRS, but before I spend money unwisely, what weather stations (and associated software) has worked for any of you?

Quoted 7 lines

Best,
Michael VA3MVW

-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Hello Michael

Have a look on Erick F5EXO page at http://f5exo.free.fr
I convert his axmeteo software to a RPM at
http://f6fgz.free.fr/Fichiers/axmeteo-2.3.3-1.i386.rpm

It can broadcast weather infos as APRS beacon. Plus other nice features !

--
73 Gérard F6FGZ

-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw

Re: Wx stations and aprs

In reply to [email protected]
Quoted 1 line · On Sun, 5 Jan 2003 [email protected] wrote:

a) APRS! Any recommendations for both Linux software and maps?

Xastir:

www.xastir.org
or xastir.sourceforge.net

Here's a description of the types of maps, tnc, and weather stations that it supports:

http://www.eskimo.com/~archer/xastir.html

Run the Jan 1, 2003, development version of Xastir, not the aged "stable" version.

Quoted 3 lines

b) Weather stations - I would love broadcast my local Wx status on APRS, but before I spend money unwisely, what weather stations (and associated software) has worked for any of you?

Xastir supports several different types, including network connections from Xastir to weather daemon software.

Signature · 5 lines
Curt Mills, WE7U                    [email protected]
Senior Methods Engineer/SysAdmin
"Lotto:    A tax on people who are bad at math!"
"Windows:  Microsoft's tax on computer illiterates!" -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"