[nos-bbs] Xnet and forward.bbs - finally figured out a long standing issue
on4hu
on4hu.0 at gmail.com
Fri Nov 8 10:53:58 EST 2013
Maiko please, I turn around for 2 weeks as from a window JNOS not have a
connection to 44 nt (OpenVPN), everything works fine for a LINUX window
- thank you
vy73s
André ON4HU
Le 08/11/13 15:32, Maiko Langelaar a écrit :
> Argggg, I forgot to specify the source directory, sorry, do this :
>
> cd /jnos/src (or where your JNOS 2.0 source exist)
>
> rsync -av www.langelaar.net::jnos2 .
>
> rsync -av www.langelaar.net::jnosX .
>
> Edit your config.h (if you want to add that IGNORE_RIP_TAG for example)
>
> make clean
>
> make
>
> Maiko
>
> _______________________________________________
> nos-bbs mailing list
> nos-bbs at tapr.org
> http://www.tapr.org/mailman/listinfo/nos-bbs
--
forum => http://on4hu.be/phpbb/ inscrivez vous? New MediaWiki =>
http://on4hu.be/MediaWiki http://on4hu.dyndns.org:81/ http://www.on4hu.be/
ftp://ftp.on4hu.be/ ou ftp://on4hu.dyndns.org/ COMPUTERS ARE LIKE
AIR-CONDITIONERS THEY STOP WORKING PROPERLY AS SOON AS YOU OPEN WINDOWS.
-------------- next part --------------
#======================================
# upd 08.11.2013 Jnos 2.0j autoxec.nos
#-----------------------------------------------
#
# ip assigned for on4hu: 44.144.11.128/28
# on4hu.ampr.org is 44.144.4.2
# 44.144.11.128 network address - unusable
# 44.144.11.129 Jnos gateway (this PC)
# 44.144.11.130 not used yet
# 44.144.11.131 not used yet
# 44.144.11.132 not used yet
# 44.144.11.133 not used yet
# 44.144.11.134 not used yet
# 44.144.11.135 not used yet
# 44.144.11.136 not used yet
# 44.144.11.137 not used yet
# 44.144.11.138 not used yet
# 44.144.11.139 not used yet
# 44.144.11.140 not used yet
# 44.144.11.141 not used yet
# 44.144.11.142 not used yet
# 44.144.11.143 Broadcast address - unusable
#
#----------------------------------------------
ip address 44.144.11.129
#----------------------------------------------
#
domain cache size 15
domain cache clean on
domain suffix ampr.org.
domain ret 2
domain maxw 60
domain translate n
domain verbose y
#
#-----------------------------------------------
#
hostname "on4hu.ampr.org."
#
#-----------------------------------------------
# global ax25 param
#----------------------
#
ax25 mycall on4hu-3
ax25 alias MOUBBS
ax25 bbscall ON4HU-1
ax25 version 2
ax25 timert linear
#ax25 t2 2000
#ax25 t3 300000
#ax25 t4 900
ax25 window 2048
ax25 blimit 3
#ax25 irtt 3000
ax25 bcinterval 6000
ax25 ret 12
ax25 irtt 2500
ax25 maxw 7000
ax25 blimit 3
ax25 hsize 10
#ax25 maxf 2
ax25 pacl 256
#
#-------------------------------------------------
# ETHERNET
#-------------------------------------------------
#
# ethernet card = 192.168.1.2 - fixed address open by firewall
# virtual address = 192.168.1.12 - address open by firewall
# mac address = 00:24:21:52:81:22 - used for pointopoint
# source port = 192.168.1.112 - address closed by firewall
#
attach tun tun0 1500 0
pause 1
ifconfig tun0 ipaddress 192.168.1.12
ifconfig tun0 netmask fffffffe
ifconfig tun0 mtu 1500
ifconfig tun0 descript "Reseau local"
#
echo "********** tun0 has been configured ********** "
pause 5
shell /sbin/ifconfig tun0 192.168.1.112 pointopoint 192.168.1.12 mtu 1500 up
pause 5
shell /usr/sbin/arp -s 192.168.1.12 00:24:21:52:81:22 pub
route add default tun0
#
# Added by W6RAY
ifconfig encap ipaddress 44.144.11.129
ifconfig encap netmask 255.255.255.0
ifconfig encap broadcast 44.144.11.255
ip hport encap on
# End of addition
#
#route addprivate 44/8 tun0
route addprivate 192.168.1/24 tun0
#
shell /sbin/ifconfig tun0 192.168.1.2 pointopoint 44.144.11.129 mtu 1500 up
shell echo 1 > /proc/sys/net/ipv4/ip_forward
pause 5
#
#-----------------------------------------------
# global tcp/ip parameters
#-----------------------------------------------
#
ip ttl 225
ip rt 4
tcp mss 216
tcp timertype linear
tcp irtt 5500
tcp maxw 9000
tcp bl 2
tcp ret 12
tcp win 2048
tcp syn on
#tcp access permit all 24
ip hp tun0 on
ip hsize 10
echo "********** global ax25 & tcp/ip are set **********"
#
ftptd 300
pause 1
#
#-------------------------------------------------
# ARP
#-------------------------------------------------
arp eaves tun0 on
arp eaves encap on
arp poll tun0 on
arp poll encap on
arp maxq 10
#------------------------------------------------
# netrom
#------------------------------------------------
#
attach netrom
netrom minqual 64
netrom call on4hu-5
#
#------------------------------------------------
# Each of the servers (services you will provide) must be turned
# on before they will be active. The following entries turn all
# of them on. To turn any function off use the command 'stop' after
# NOS gets fired up, or just comment out the line here.
#
start ax25
start telnet
start ftp
start smtp
start finger
start remote
start ttylink
start forward
start convers
start pop3
start netrom
#start remote
#
#-------------------------------------------------
# XNET
#-------------------------------------------------
#attach axudp xnet 256 192.168.1.12 XNET
#ifconfig xnet description "axudp link to XNET"
#source /jnos/etc/nodes.fil
#
#------------------------------------------------
# Cause the SMTP server to look for new mail to send every 10 minutes
#
smtp mode route
smtp timer 600
smtp tdisc 920
smtp quiet yes
smtp trace 1
#smtp hopper y
smtp dtimeout 168
smtp maxservers 6
#
smtp maxclients 3
smtp t4 920
smtp use on
smtp batch on
#
#-------------------------------------------------
#
# These values come into play when you are operating in the
# AX.25 mode, along with your ax25 mycall entry above.
#
# If you want to operate as a digipeater (for those poor souls
# not operating TCP/IP!), change 'off' to 'on'
#
#---------------------------------------------------
# mailbox
#---------------------------------------------------
#
mbox trace off
mbox smtp on
mbox mailfor interval 600
mbox smtptoo on
#mbox usersonly uhf on
mbox fbb 0 #was 2 0=wa7mbl 'ascii'
mbox nob2f on4hu
mbox tmsg "JNOS v 2.0j/Linux Mageia-3\nVPN 44net\n"
mbox fwdinfo "jnos2.0j"
#mbox qth jo10or
mbox hadd ON4HU.HT.BEL.EU
#mbox zip 7700
mbox mailfor exclude sysop hufwd
oldbid 24 30
mbox nrid off
mbox header off
mbox newmail on
mbox nobid off
mbox timer 0
#
motd "Vous etes sur on4hu.ampr.org\nMachine LINUX Mageia-3 & JNOS v 2.0j\n"
#
mbox showalias on
mbox alias BCM "telnet 127.0.0.1 4719"
#mbox alias XNET "c on4hu on4hu-4"
#
#mbox attend n
mbox show off
mbox secure off
mbox sendquery on
#
bulletin return on
bulletin date yes
bulletin check yes
bulletin return on
bulletin loop 2
#
ftype i
#---------------------------------------------------
# domain name service
#---------------------------------------------------
#
domain suffix ampr.org.
domain ret 2
domain maxw 60
#
# router on4hu DNS
domain add 192.168.1.1
# 44net address DNS
domain add 44.144.0.1
#
domain cache clean on
domain cache wait 3300
domain cache size 15
domain upd on
domain translate no
domain verbose yes
domain dns on
domain ttl 500000
#domain trace on
echo "********** DNS as been configured **********"
source /jnos/encap.txt
echo "********** encap routes loaded **********"
source /jnos/routes.lcl
echo "********** local routes loaded **********"
#pause 5
echo "********** routes tables have been configured **********"
#
#-------------------------------------------------
# VPN
#-------------------------------------------------
#
ip upstairs 224.0.0.9
rip ttl 43200
start rip
rip accept 44.0.0.1
rip trace 9 /jnos/rip.log
#
#--------------------------------------------------
# ENCAP
#--------------------------------------------------
#
#ifconfig encap ipaddress 44.144.4.2
ifconfig encap ipaddress 44.144.11.129
ifconfig encap netmask 255.255.255.255
ifconfig encap broadcast 255.255.255.255
echo "********** encap has been configured **********"
pause 5
#
#---------------------------------------------------
#
# Wake up the SMTP process to start shipping any outstanding mail.
smtp batch y
smtp kick
#
#---------------------------------------------------
#
third-party y
#
#---------------------------------------------------
# expire every 4 hours
#---------------------------------------------------
#
expire 4
#----------------------------------------------------
#rspf
#----------------------------------------------------
#
#rspf interface ax3 8 5
#rspf mode datagram
#rspf rrhtimer 900
#rspf suspecttimer 1800
#rspf timer 900
#
#----------------------------------------------------
# Programming keys
#----------------------------------------------------
#
trace tun0 111
#
#----------------------------------
# mode convers avec d'autre JNOS
#----------------------------------
#
convers hostname ON4HU_Conv
convers filter mode accept
#convers filter 44.151.59.57
#convers filter 44.151.62.6
#convers link 44.151.59.57
#
#convers interf xnet on
convers interf tun0 on
#------------------------------------
#forward
#-----------------------------------
#source /jnos/etc/at.txt
#ftype i
#
#----------------------------------
# THE END
#------------------------------------
More information about the nos-bbs
mailing list