#--------------------------------------------------------------------------# # AmprNet Brasil - http://www.amprnet.org.br - Net-44 44.174/16 Fev/1998 # # Joao Fabio de Oliveira - PU5PJF - jfabio@arpa.arauc.br # # -------------------------------------------------------------------------# # A U T O E X E C . N O S # # -------------------------------------------------------------------------# hostname parana.ampr.org ip address 44.174.13.1 memory ibufsize 672 memory nibufs 20 mem th 32767 mem minalloc 32 watch on #strace on isat on prompt on # domain suffix ampr.org. domain cache wait 30000 domain cache size 50 domain cache clean off #domain addserver ucsd.edu domain addserver 200.17.209.64 domain addserver arpa.ampr.org domain maxwait 30 domain update on #domain ttl 64 #domain dns on #domain translate on # causa muito atraso ao buscar nomes no Domain Server # ftype binary # # Desconecte apos 300 segundos de inatividade em FTP. # ftptdisc 300 # # Start forward server #start forward # # --------------------------------------------------------------------------- # Parametros AX.25 #source c:\bin\jnos\cfg\gateway\ax25.nos # Indicativo do BBS ax25 mycall py5arp-5 # Apelido do BBS # ax25 alias #INET (Quando se usa o "#", os Nodes TheNet devem ser # habilitados para "enxergarem" o "#" de Gateway !) ax25 alias PARANA # Jumpstart no indicativo abaixo. ax25 bbscall py5arp-5 # Intervalo de 1800s (1/2 h) entre BEACONs. ax25 bcinterval 1800 # Texto do BEACON. ax25 bctext "<> AX25/TCPIP == py5arp-5 - UFPR Gateway Internet Curitiba - GG54jn <>" # AX.25 backoff Retransmission Limit >= Nro estacoes simultaneas na freq. ax25 blimit 25 # Habilita log na 'lista das estacoes ouvidas'. ax25 filter 0 # Maximo 24 ultimas estacoes ouvidas. ax25 hsize 24 # Valor inicial do Smoothed Round Time Trip p/ novas conexoes (ms). ax25 irtt 5000 # ? ax25 maxwait 60000 # Maximo nro de frames nao confirmados a enviar. ax25 maxframe 5 # Maximo tamanho dos campos-I em novas conexoes. ax25 paclen 128 # Poll Threshold = 1/2 Packet Lenght. ax25 pthresh 90 # Nro de transmissoes sucessivas sem sucesso. #ax25 retry 5 # Valor do timer "Keep Alive - t3" (ms). # ax25 t3 180000 ax25 t3 0 # Valor do timer "Redundancy - t4" (s). ax25 t4 600 # Timer tipo linear p/ retransmissoes e recuperacoes. ax25 timertype linear # Usar sempre versao 2 inicialmente em novas conexoes. ax25 version 2 # Max. nro de bytes a receber antes de enviar RNRs em sessoes interativas. ax25 window 1024 # # --------------------------------------------------------------------------- # Ajuste das interfaces #source c:\bin\jnos\cfg\gateway\interfac.nos #============================================================================ # 1. Interface com AmPRNet # T N C T N C T N C T N C # # TNC instalado na COM2: #attach asy 0x2f8 3 ax25 uhf1 8192 256 9600 #ifconfig uhf1 description "AX25 Link PU5YSN FBB BBS Curitiba,Brasil, in 434.500MHz uhf1 1200bps" #ifconfig uhf1 description "TCP/IP LAN Curitiba only.Users 44.174.13/27 in 431.900MHz uhf1 9600bps" #ifconfig uhf1 ipaddress 44.174.13.33 #ifconfig uhf1 linkaddress py5arp-5 #ifconfig uhf1 netmask 0xffffffe0 broadcast 44.174.13.63 #ifconfig uhf1 ax25 bctext ">>> AX.25-TCP/IP Gateway Internet de Curitiba, GG54jn (arpa.ampr.org) <<<" #ifconfig uhf1 ax25 timertype linear # # TNC instalado na COM1: attach asy 0x3f8 4 ax25 vhf 8192 256 9600 ifconfig vhf description "AX25/TCPIP LAN Curitiba.Users 44.174.13/27 in 144.910MHz vhf 1200bps" ifconfig vhf ipaddress 44.174.13.129 ifconfig vhf linkaddress py5arp-5 ifconfig vhf netmask 0xffffffe0 broadcast 44.174.13.159 ifconfig vhf ax25 bctext ">>> AX.25-TCP/IP Gateway Internet de Curitiba, GG54jn (arpa.ampr.org) <<<" ifconfig vhf ax25 timertype linear # U S C C C A R D B A Y C O M # # Placa USCC Card BayCom, IRQ 7, 320H, 4 Portas (0=1200,1=300/1200,2=tty,3=9600) # Define o uso da placa baycom com o sistema #attach scc 2 init 0x320 2 4 5 -4 0 7 p4915200 0x10 # Porta 0 da Placa em VHF/1200bps - 144.910MHz (Usuarios Locais) #attach scc 0 ax25 vhf 512 1200 512 #ifconfig vhf description "AX25/TCPIP LAN Curitiba, Brasil. Users in 14.070MHz vhf 1200bps" #ifconfig vhf ipaddress 44.174.13.1 #ifconfig vhf linkaddress py5arp-5 #ifconfig vhf netmask 0xffffff00 broadcast 44.174.13.255 #ifconfig vhf ax25 bctext ">>> AX.25-TCP/IP Gateway Internet de Curitiba, GG54jn (arpa.ampr.org) <<<" #ifconfig vhf ax25 timertype linear #param vhf txdelay 6 #param vhf persist 128 #param vhf slot 1 # Porta 1 da Placa em UHF/1200bps - 434.500MHz (Link com py5arp:UFPBBS) #attach scc 1 ax25 uhf1 512 1200 512 #ifconfig uhf1 description "AX25/TCPIP Link with py5arp FBB BBS in 434.500MHz uhf1 1200bps" #ifconfig uhf1 ipaddress 44.174.13.1 #ifconfig uhf1 linkaddress py5arp-5 #ifconfig uhf1 netmask 0xffffff00 broadcast 44.174.13.255 #ifconfig uhf1 ax25 bctext ">>> AX.25-TCP/IP Gateway Internet de Curitiba, GG54jn (arpa.ampr.org) <<<" #ifconfig uhf1 ax25 timertype linear #param uhf1 txdelay 6 #param uhf1 persist 128 #param uhf1 slot 1 # Porta 2 da Placa sem uso - e' a TTY que esta vazia ! #attach scc 2 ax25 xxx 512 1200 512 # Porta 3 da Placa em UHF/9600bps - 430.550MHz (Usuarios Locais) #attach scc 3 ax25 uhf2 512 9600 512 #attach asy 0x3f8 4 ax25 uhf2 8192 256 9600 #ifconfig uhf2 description "AX25/TCPIP LAN Curitiba, Brasil. Users in 431.900MHz uhf2 9600bps" #ifconfig uhf2 ipaddress 44.174.13.1 #ifconfig uhf2 linkaddress py5arp-5 #ifconfig uhf2 netmask 0xffffff00 broadcast 44.174.13.255 #ifconfig uhf2 ax25 bctext ">>> AX.25-TCP/IP Gateway Internet de Curitiba, GG54jn (arpa.ampr.org) <<<" #ifconfig uhf2 ax25 timertype linear #param uhf2 txdelay 6 #param uhf2 persist 128 #param uhf2 slot 1 # B P Q B P Q B P Q B P Q # # Teste com o Driver G8BPQ configurado para a Placa Baycom #attach bpq init 0x7f 35 #attach bpq 1 vhf #attach bpq 2 uhf (habilitar esta porta para uhf e configurar idem ao vhf) # Configuracoes Gerais # ==================== # Habilita Broadcasts (BEACON) nas interfaces radio ax25 bcport vhf on #ax25 bcport uhf1 on #ax25 bcport uhf2 on # Interfaces radio tem que ser digi (call: py5arp-5) senao INET fica fora de alcance ax25 digipeat vhf on #ax25 digipeat uhf1 on #ax25 digipeat uhf2 on # Faca 'log' das estacoes ouvidas nas portas radio ax25 hport vhf on #ax25 hport uhf1 on #ax25 hport uhf2 on # Maximo 24 ultimas estacoes ouvidas. ax25 hsize 24 # Virtual Circuit nas interfaces radio. (Mande datagramas em modo conectado). #mode vhf VC #mode uhf1 VC #mode uhf2 VC #============================================================================ # 2. Interface com rede local Ethernet no DINF, nome "ruivao". # Packet driver p/ NE2000. Subnet 200.7.8/24 # MTU = 1500 (standard) # attach packet 0x60 eth 10 1500 ifconfig eth description "DINF's Local Network, Ethernet NE2000." #ifconfig eth ipaddress 200.7.8.200 ifconfig eth ipaddress 200.17.209.102 #ifconfig eth netmask 0xffffff00 #mascara 255.255.255.224 ifconfig eth netmask 0xffffffe0 ifconfig eth broadcast 200.17.209.255 #============================================================================ # 3. Interface ENCAP p/ conexao a AmprNet. # ifconfig encap ipaddress 44.174.13.1 ifconfig encap mtu 576 ip encap 4 #============================================================================ # 4. Interface AXIP para outros bbs # # AXIP para Porto Alegre - PU3AKM (SysOp pu3akm@lec-bbs.ampr.org) # attach axip rs 256 44.174.7.1 py5arp-1 ifconfig rs description "Porto Alegre/RS, Brasil. Indic: pu3akm-10 dig: py5arp-1" # # AXIP para Toronto, Canada' - VE2VAX (SysOp ve2vax@mtlgw.ampr.org) attach axip ve2 256 44.135.54.20 py5arp-2 ifconfig ve2 description "Montreal, Canada. Indic: ve2vax-2 dig: py5arp-2" # # AXIP para Sao Paulo - FAPESP - PY2BJO (SysOp py2gn@sp-gw.ampr.org) attach axip sp 256 44.174.2.1 py5arp-3 ifconfig sp description "Sao Paulo/SP, Brasil. Indic: py2bjo-7 dig: py5arp-3" # # AXIP para Foz do Iguacu - Futurenet - PY5LJ Flavio (SysOp fmonteiro@fnn.net) attach axip fz 256 44.174.14.1 py5arp-4 ifconfig fz description "Foz do Iguacu/PR, Brasil. Indic: py5lj-1 dig: py5arp-4" # # AXIP para Belo Horizonte - Prodemge - PU4MCS Marcos (SysOp marcosf@prodemge.gov.br) attach axip mg 256 44.174.15.1 py5arp-5 ifconfig mg description "Belo Horizonte/MG, Brasil. Indic: pu4mcs-1 dig: py5arp-5" # # AXIP para Campinas - Rede Green - SysOp Jose - PY2HL attach axip cp 256 200.250.231.18 py5arp-6 ifconfig cp description "Campinas/SP, Brasil. Indic: py2ku-5 dig: py5arp-6" # # AXIP para Republica Czech - Tchekoslovakia - Universidade Tenica Brnin # OK2PEN Libor (SysOp ok2pen@gw.ok0nmg.ampr.org) attach axip cz 256 44.177.10.254 py5arp-7 ifconfig cz description "Brno, Republica Tcheca. Indic: ok0nmg-8 dig: py5arp-7" # # AXIP para Rio de Janeiro, Brasil - PY1AA-5 (SysOp ???) #attach axip rj 256 44.174.8.1 py5arp-8 attach axip rj 256 146.164.19.54 py5arp-8 ifconfig rj description "Rio de Janeiro/RJ, Brasil. Indic: py1aa-13 dig: py5arp-8" # # AXIP para Gateway parana.ampr.org no CCE/UFPR - ARPA #attach axip pr 256 44.174.13.1 py5arp-9 attach axip pr 256 200.17.209.102 py5arp-9 ifconfig pr description "Gateway parana.ampr.org, Curitiba/PR.Indic: py5arp-1 dig: py5arp-9" # # AXIP para Blumenau PP5BLU (Catalan - root@hamgate.furb.rct-sc.br) attach axip bl 256 200.19.218.207 py5arp-10 ifconfig bl description "Blumenau/SC, Brasil. Indic: pp5aq-2 dig: py5arp-10" # # AXIP para Fortaleza PT7WA - Luciano attach axip fl 256 44.174.9.1 py5arp-11 ifconfig fl description "Fortaleza/CE, Brasil. Indic: pt7fx-1 dig: py5arp-11" # # AXIP para Limeira/SP PY2KCL-5 - Jose, PY2HL attach axip li 256 44.174.16.1 py5arp-12 ifconfig li description "Limeira/SP, Brasil. Indic: py2kcl-1 dig: py5arp-12" # # AXIP para Joinville - PP5AJ Junior attach axip jv 256 44.174.17.1 py5arp-13 ifconfig jv description "Joinville/SC, Brasil. Indic: pp5fej-1 dig: py5arp-13" # # AXIP para UNESP Bauru - PY2UEP Demilson attach axip un 256 44.174.18.1 py5arp-14 ifconfig un description "Bauru/SP, Brasil. Indic: py2eup-6 dig: py5arp-14" # # AXIP para Santo Antonio da Platina/PR - Aquias PY5ABM attach axip sn 256 200.250.62.25 py5arp-15 ifconfig sn description "S. Antonio Platina/PR, Brasil. Indic: py5snp-1 dig: py5arp-15" # # AXIP para Florianopolis/SC, Mauro PP5MCB attach axip fp 256 44.174.1.40 py5arp-16 ifconfig fp description "Florianopolis/SC, Brasil. Indic: pp5uf dig: py5arp-16" # Digipeater nas portas axip ax digi fl on ax digi cz on ax digi mg on ax digi cp on ax digi fz on ax digi rs on ax digi sp on ax digi rj on ax digi ve2 on ax digi pr on ax digi bl on ax digi jv on ax digi li on ax digi un on ax digi sn on ax digi fp on #=========================================================================== # #--------------------------------------------------------------------------- # Ajuste do TNC #source c:\bin\jnos\cfg\gateway\tnc.nos # # Txdelay 300 mS param uhf1 1 30 #param vhf 1 15 # Persistencia #param uhf1 2 63 param vhf 2 63 # Slottime 160 mS #param uhf1 3 16 param vhf 3 16 # Tx-tail 50 mS #param uhf1 4 5 param vhf 4 5 # half duplex channel #param uhf1 5 0 param vhf 5 0 # # -------------------------------------------------------------------------- # Address Resolution Protocol #source c:\bin\jnos\cfg\gateway\arp.nos # # 1. net 200.7.8/24 (Rede local do DINF) #arp add 200.17.209.64 ether 08:00:20:11:94:72 eth #arp add 200.17.212.10 ether 08:00:20:11:94:72 eth #arp add 200.7.8.10 ether 08:00:20:0d:78:f6 eth #arp add 200.7.8.200 ether 08:00:00:01:98:44 eth #arp add 200.7.8.200 ether 00:40:c7:59:0d:0a eth #arp add 200.7.8.200 ether 08:00:00:07:10:64 eth # 2. net 44.174.13/24 (Curitiba) # # BBS F6FBB UFPBBS e UEMBBS #arp add 44.174.13.1 ax25 py5arp-5 vhf # Nodes da Rede ARPA/ANPARA/CRAJE #arp add 44.174.13.251 ax25 PY5TEL-8 vhf #arp add 44.174.13.250 ax25 PY5MOS-8 vhf #arp add 44.174.1.193 ax25 PP5CIT-8 vhf #arp add 44.174.13.249 ax25 PY5JGA-8 vhf #arp add 44.174.13.248 ax25 PY5ARP-8 vhf #arp add 44.174.13.247 ax25 PY5SCA-8 vhf #arp add 44.174.13.246 ax25 PY5SNP-8 vhf #arp add 44.174.13.245 ax25 PY5MGA-8 vhf # Usuarios de Curitiba e Regiao #arp add 44.174.13.40 ax25 PU5PJF uhf1 #arp add 44.174.13.30 ax25 PU5VAN uhf1 #arp add 44.174.13.15 ax25 PY5NV vhf #arp add 44.174.13.41 ax25 PY5OK vhf #arp add 44.174.13.12 ax25 PY5VX vhf #arp add 44.174.13.14 ax25 PY5CAM vhf #arp add 44.174.13.17 ax25 PY5VS vhf #arp add 44.174.13.20 ax25 PY5BYE vhf #arp add 44.174.13.18 ax25 PY5CKJ vhf # # -------------------------------------------------------------------------- # Rotas #source c:\bin\jnos\cfg\gateway\rotas.nos # # 1. Para a amprNet de Curitiba (sub-network 44.174.13/24) # # a. maquinas adjacentes as interfaces radio #route addprivate 44.174.13.251 vhf #route addprivate 44.174.13.250 vhf #route addprivate 44.174.13.16 uhf1 #route addprivate 44.174.13.17 vhf #route addprivate 44.174.13.14 vhf #route addprivate 44.174.13.15 vhf #route addprivate 44.174.13.19 vhf #route addprivate 44.174.13.20 vhf #route addprivate 44.174.13.21 vhf #route addprivate 44.174.13.30 uhf1 44.174.13.16 #route addprivate 44.174.13/24 vhf # Novo esquema de subredes - mascara 255.255.255.224 (8x32) # Hosts estaticos via outro gateway #route addprivate 44.174.13.35 uhf1 44.174.13.34 1 # Rota temporaria para JFabio ate a porta 9k6 voltar !!! #route addprivate 44.174.13.34 vhf #route addprivate 44.174.13.35 vhf 44.174.13.34 1 # Rotas para as redes route addprivate 44.174.13.32/27 vhf route addprivate 44.174.13.64/27 vhf route addprivate 44.174.13.96/27 vhf route addprivate 44.174.13.128/27 vhf route addprivate 44.174.13.160/27 vhf route addprivate 44.174.13.192/27 vhf route addprivate 44.174.13/27 vhf # b. maquinas acessiveis via IP switch py5tel-8.ampr.org (TELEPAR) #route addprivate 44.174.13/24 vhf 44.174.13.251 1 # c. Usuarios de Joinville via JVILLE #route addprivate 44.174.1.193 vhf #route addprivate 44.174.1.61 vhf 44.174.1.193 #route addprivate 44.174.1.62 vhf 44.174.1.193 #route addprivate 44.174.1.63 vhf 44.174.1.193 # 2. Para a rede local do CCE #route addprivate 200.7.8/24 eth route addprivate 200.17.209.0/24 eth # 3. Rotas ENCAP # O arquivo encap.txt deve ser atualizado semestralmente. Deve-se busca-lo # no site (ftp) minnie.cs.adfa.oz.au (131.236.23.152) (login: gateways # password: PygmaLion) source c:/bin/jnos/cfg/encap.txt # 4. Rota default #route addprivate default eth 200.7.8.23 1 route addprivate default eth 200.17.209.33 1 # # -------------------------------------------------------------------------- # Parametros RIP #source c:\bin\jnos\cfg\gateway\rip.nos # #rip ttl 240 #rip add 200.17.209.9.33 240 #rip merge on #rip request 200.17.209.33 # # -------------------------------------------------------------------------- # Parametros TCP/IP #source c:\bin\jnos\cfg\gateway\tcpip.nos # # Time to live para datagramas IP [hops] ip ttl 255 ip hport vhf on #ip hport uhf1 on #ip hport uhf2 on ip hport eth on ip hsize 30 # Initial Round Trip Time = 7s. tcp irtt 5000 # Maximum Segment Size = MTU Ethernet - 40 bytes. #tcp mss 506 tcp mss 210 #tcp mss 385 # Sync + data aceitos. tcp syndata on # Tamanho default da janela = 4 x MSS. #tcp window 2024 tcp window 810 #tcp window 1460 # Timer TCP tcp timertype linear tcp retries 8 # Backoff limit tcp blimit 20 # Se nao ficar com echo accept os prompts - more - do bbs e os prompts das # senhas nao funcionam direito. Melhor deixar em on. echo accept on # # -------------------------------------------------------------------------- # Parametros de seguranca #source c:\bin\jnos\cfg\gateway\access.nos # # Start of ACCESS.NOS file # ************************ # # ip access [/] [/] [low [high]] # # tcp access [/] [lowport [highport]] # # NB: The IP ACCESS and TCP ACCESS frame work is based on IP ACCESS and TCP # ACCESS control files shown below written by VE3RKS at VE3UOW and by # VE3PNX at VE3RPI. # # - This file sould be sourced into your autoexec.nos file after all ports # have been attached and defined. # - This file also contains a handy summary of what TCP/UDP ports are # commonly used. # - This file contains information on the use of TCP ACCESS and IP ACCESS # - All lines begin with # symbols. This is to allow this file to be sourced # into your autoexec.nos after being edited for you specific setup. Lines # that do not begin with # symbols are valid NOS IP and TCP ACCESS commands. # # Ports of interest for both UDP and TCP # ************************************** # 1 - 3599 - SERVER PORTS limit access based on local rules UDP and TCP # *************************************************************************** # 7 - ECHO # 9 - DISCARD # 20 - FTP-DATA # 21 - FTP-CONTROL # 23 - TELNET # 25 - SMTP # 57 - SECONDARY TELNET # 67 - BOOTP # 79 - FINGER # 87 - TTYLINK [Operator chat] # 97 - AXIP/IPIP/IPTUNNEL # 109 - POP2 # 110 - POP3 # 119 - NNTP # 513 - RLOGIN/RWHO # 525 - TIME DAEMON # 1234 - REMOTE # 1235 - CALLSIGN DB # 3600 - CONVERS [Only AMPR.ORG domain should have access] # 3601 - LZW CONVERS [Only AMPR.ORG domain should have access] # *************************************************************************** # 1050 - 32768 - REPLY PORTS should be accessable to all <= very important # *************************************************************************** # TCP ACCESS # ********** # TCP ACCESS is used to limit access to certain servers accessable by # TCP/TELNET to specific ports. For example you may want to allow # access to the SMTP server in your machine from all machines AMATEUR # and NON-AMATEUR. # # TCP access stops a connection to a server from being built at only # the machine at which it is installed. If you want to stop a gateway # from routing TCP/IP packets from specific addresses to specific # addresses you need to use the IP ACCESS code! # TCP ACCESS WHAT FROM LOW HIGH # ### ###### ###### ############### ##### ##### # IP ACCESS # ********* # IP ACCESS is an important bit of code for a INTERNET/AMPRnet Gateway # as it can be used to selectively allow or disallow the routing of # TCP/IP packets based on source ip address, destination ip address, # packet type [udp/tcp/..], UDP or TCP port number and interface port. # # For most gateways you would like to only pass AMPR.ORG originated # ip address to other AMPR.ORG ip address (like UK and AUSTRALIAN LAW). # Exceptions might be where local law allows Amateurs to originate to # anywhere (including non-amateur destinations) as the replys are # technically under the control of the originator (like USA and CANADIAN # law). # # The idea behind IP ACCESS is to set up rules that will allow or deny # routing of packets. Unlike the TCP ACCESS command, IP ACCESS does not # restrict access to servers at the machine that is running this code. It # does however restrict the gatewaying of IP packets accross interface # ports. # # Valid PROTOCOLS are ICMP, UDP, TCP, and ANY (every thing else). Both # ICMP and ANY do not allow specific port restrictions as port numbers # are not really used for the other TCP/IP protocols. # # WHAT = # PROT = # PORT = ATTACHED INTERFACE/PORT # LOW = TCP or UDP low port number # HIGH = TCP or UDP high port number # # Below I use the following pseudo PORT names: # AX1 = ax25 rf port # AX2 = ax25 rf port # AX3 = AXIP pseudo ax25 port # BBS = SLIP port to an attached bbs # MODEM = SLIP port to a telphone modem # ETHER = PACKET interface to ethernet card # ENCAP = ENCAP routing interface # # IP ACCESS WHAT PROT SOURCE DESTINATION PORT low high # ## ###### ###### #### ############# ############### ##### ###### ###### # ip access permit icmp 44/8 all vhf 1 32768 # ip access permit icmp 44/8 all uhf1 1 32768 # ip access permit icmp 44/8 all uhf2 1 32768 # ip access permit icmp all all eth 1 32768 # ip access permit icmp all all encap 1 32768 # ip access permit udp 44/8 all vhf 1 32768 # ip access permit udp all 44.174.004.001 vhf 1 32768 # ip access permit udp 44/8 all uhf1 1 32768 # ip access permit udp all 44.174.004.001 uhf1 1 32768 # ip access permit udp 44/8 all uhf2 1 32768 # ip access permit udp all 44.174.004.001 uhf2 1 32768 # The above line allow a machine 44.bbb.ccc.ddd to receive UDP datagrams # from any source over a channel that would normally only allow 44/8 sources # ip access permit udp all all eth 1 32768 # ip access permit udp all all encap 1 32768 # TCP will allow TCP client-server packets to be passed # ip access permit tcp 44/8 all vhf 1 32768 # ip access permit tcp all 44/8 vhf 1000 3599 # ip access permit tcp all 44/8 vhf 3602 32768 # ip access permit tcp all 44.174.004.001 vhf 25 25 # ip access permit tcp 44/8 all uhf1 1 32768 # ip access permit tcp all 44/8 uhf1 1000 3599 # ip access permit tcp all 44/8 uhf1 3602 32768 # ip access permit tcp all 44.174.004.001 uhf1 25 25 # ip access permit tcp 44/8 all uhf2 1 32768 # ip access permit tcp all 44/8 uhf2 1000 3599 # ip access permit tcp all 44/8 uhf2 3602 32768 # ip access permit tcp all 44.174.004.001 uhf2 25 25 # The above line allow a machine 44.bbb.ccc.ddd to receive incoming SMTP # from any source over a channel that would normally only allow 44/8 sources # ip access permit tcp all all eth 1 32768 # ip access permit tcp all all encap 1 32768 # ANY will allow AXIP, IPIP etc! # ip access permit any 44/8 44.bbb.ccc.ddd vhf 1 32768 # ip access permit any 44/8 44.bbb.ccc.ddd uhf1 1 32768 # ip access permit any 44/8 44.bbb.ccc.ddd uhf2 1 32768 # The above line allow a machine 44.bbb.ccc.ddd to receive incoming axip # from 44/8 sources over a channel that would normally not allow axip # ip access permit any all all eth 1 32768 # ip access permit any all all encap 1 32768 # The default rule is to deny all that are not allowed above. # ip access deny any all all vhf # ip access deny any all all uhf1 # ip access deny any all all uhf2 # ip access deny any all all eth # ip access deny any all all encap # # -------------------------------------------------------------------------- # Parametros SMTP #source c:\bin\jnos\cfg\gateway\smtp.nos # smtp batch yes #smtp bidcheck on smtp gateway 200.17.209.64 smtp maxclients 5 smtp mode route smtp quiet yes smtp reclzw on smtp sendlzw on smtp t4 1200 # alterado 9/7/97 - Schneider smtp tdisc 1400 # adicionado " " smtp dtimeout 168 # " " " smtp timer 1800 smtp trace 0 smtp usemx no # # --------------------------------------------------------------------------- # Parametros do MailBox #source c:\bin\jnos\cfg\gateway\mbox.nos # # Alias do Mbox para conexoes com varios servicos mb showalias on mb alias SYSOP "t 44.174.13.35 87" mb alias CONV "t 200.17.209.64 3600" #mb alias hotPOA "t 44.174.7.1 3600" #mb alias SPCONV "t 44.174.2.1 3600" mb alias WWW "t 193.51.208.68" mb alias DX1 "t pp5uf-gw" mb alias DX2 "t 205.241.25.11" mb alias CBOOK "t 128.205.32.2 2000" mb alias FBB "c pr PU5YSN PY5ARP-5" mb alias FBBGN "t 200.136.35.1 3602" mb alias LAN "c pr OMNOD PY5ARP-5" mb alias HYDRA "t 134.117.12.18 3600" #mb alias UFSC "t pp5uf-gw" # Porta de UHF e somente para USUARIOS # #mb usersonly uhf on # Ativa o Beacon com "Mensagens Para: xxx" mbox mailfor watch py5arp-5 check mbox mailfor 1800 mbox mailfor exclude sysop mbox mailfor exclude check # Mensagem de log on. #mbox tmsg "This machine is a dedicated gateway TCP/IP-AX25 for Curitiba area, Brazil.\nRadio ports in 145.070MHz/1200bps and 434.500MHz/1200bps.\nYou may ask the SysOps for any comments.\n73's PU5PJF Joao Fabio (arpa@inf.ufpr.br).\n" mbox tmsg "Welcome to Gateway AmprNet for Curitiba Area (GG54jn), Brazil.\nUse your CALLSIGN for login and password.\n73's da ARPA (arpa@inf.ufpr.br).\n" # Permitir mail para terceiros no mailbox. third-party on # Gateway so' p/ usuarios entrando via ax.25 ou netrom. # Nota: Se on, nao permite gate p/ conexoes do console via "vhf". mbox secure off # Desconecte apos 10 minutos de inatividade no MBox mbox tdisc 600 #mbox attend on # Mensagens velhas oldbid 05 expire 05 # Configuracao do MBOX para forwarding #mbox qth "Curitiba,Brasil" #mbox haddress "py5arp-5.PR.BRA.SA" #mbox utc -3 #mbox zipcode "81930970" #mbox fwdinfo "Internet<->AX25" #mbox smtptoo on #mbox header on mbox nobid on # bulletin check yes bulletin date yes bulletin return yes bulletin loophold 1 # #mbox timer 3600 mbox newmail on mbox sendquery on mbox register on mbox nrid on # # --------------------------------------------------------------------------- # Parametros do NET/ROM #source c:\bin\jnos\cfg\gateway\netrom.nos # attach netrom netrom user py5arp-15 netrom alias PARANA netrom call py5arp-5 netrom g8bpq on netrom hidden off # # Ajusta interface e ajusta qualidade inicial. (v=sem broadcast) # Se quiser a tabela de nodes aparecendo nos nodes da porta de vhf, e' so' # retirar o "v" da linha abaixo # # netrom interface vhf 230 v netrom interface vhf 230 #netrom interface uhf1 230 #netrom interface uhf2 230 # INTERFACES NETROM VIA INTERNET # ============================== # netrom interface fz 230 netrom interface mg 230 netrom interface cp 230 netrom interface cz 230 netrom interface rs 230 netrom interface ve2 230 netrom interface sp 230 netrom interface rj 230 netrom interface pr 230 netrom interface bl 230 netrom interface fl 230 netrom interface jv 230 netrom interface li 230 netrom interface un 230 netrom interface sn 230 # # ============================== # # Vizinhos Rede Radio # #netrom neighbour PU5YSN uhf1 #netrom neighbour ARPA01 vhf #netrom neighbour ARPA02 vhf #netrom neighbour JVILLE vhf #netrom neighbour STONGW vhf # E os vizinhos pela Internet netrom neighbour CZGATE cz netrom neighbour FOZ fz netrom neighbour BHZ mg netrom neighbour PY2KU-5 cp netrom neighbour BRASIL rs netrom neighbour VE2VAX-2 ve2 netrom neighbour SPAULO sp netrom neighbour PY1AA-5 rj netrom neighbour PARANA pr netrom neighbour BLUNOD bl netrom neighbour PT7FX-5 fl netrom neighbour PP5FEJ-5 jv netrom neighbour PY2KCL-5 li netrom neighbour PY2UEP-7 un netrom neighbour PY5SNP-5 sn # Faz um broadcast aos nodes da area. netrom bcnodes vhf #netrom bcnodes uhf1 #netrom bcnodes uhf2 # Tempo (convencao 1800s) para retransmissao de nossa lista de nodes. netrom nodetimer 1800 # Tempo (convencao 900s) para decrementar qualidade de nodes vizinhos. netrom obsotimer 900 # Um frame pode passar por 32 nodes antes de ser descartado. netrom ttl 32 # Aceite 1024 bytes antes do "choke" a conexao L4. netrom qlimit 1024 # Qualidade de propagacao dos nodes - quanto mais alto o valor, menos nodes # aparecem na tabela. netrom minquality 192 #netrom minquality 160 # Maximo nro de retries em conexoes, desconexoes ou dados. netrom retries 5 # Ack delay time == t2 do AX.25. netrom acktime 20000 # Aceita nodes de qualquer qualidade. netrom promiscuous off # Decrementa qualidade se o link falha. netrom derate on # Valor inicial do "round time trip" em L4 (convencao 120s) netrom irtt 20000 # Desconecte em 1200s de inatividade. #netrom tdisc 1200 # Timer tipo linear no backoff. netrom timertype linear # Tamanho da janela de "sliding". netrom window 2 # Consulta nodes da area netrom bcpoll vhf #netrom bcpoll uhf1 #netrom bcpoll uhf2 # Tabela de filtros de nodes pela Internet #netrom nodefilter add pu3akm-4 rs 224 # Tabela de filtros de nodes pela porta vhf #netrom nodefilter add py5arp-4 vhf 224 #netrom nodefilter add py5tel-8 vhf 224 #netrom nodefilter add py5mos-8 vhf 224 # News Client # nntp addserver 44.174.1.40 7000 ampr.bbs.tecnica ampr.bbs.duvidas ampr.bbs.amprbr ampr.bbs.hardware ampr.bbs.branet ampr.bbs.bazar ampr.bbs.scoutsbr ampr.bbs.dxnews nntp quiet on nntp lzw off nntp trace 1 nntp kick 44.174.1.40 nntp dir ampr.bbs.amprbr=amprbr nntp dir ampr.bbs.bazar=bazar nntp dir ampr.bbs.duvidas=duvidas nntp dir ampr.bbs.branet=branet nntp dir ampr.bbs.tecnica=tecnica nntp dir ampr.bbs.hardware=hardware nntp dir ampr.bbs.scoutsbr=scoutsbr nntp dir ampr.bbs.dxnews=dxnews # # -------------------------------------------------------------------------- # Inicializa servers #start convers #start discard #start echo start ax25 start finger #start forward start ftp start netrom start pop3 #start remote #start rip start smtp start telnet #start ttylink #start tip start http 80 c \gopher #start gopher #start dns # # -------------------------------------------------------------------------- # Diversos # Log para os arquivos C:/bin/jnos/logs/ddmmmyy. log yes # Password para boot remoto. #remote -s sua_senha # Shutdown do JNOS para reboot at now+9600 exit at now+0800 "tcp clean" at 0400 "expire now+" # Trace das interfaces #trace vhf 0111 #trace uhf1 0111 #trace uhf2 0111 #trace eth 0111 # -------------------------------------------------------------------------- # Mensagens do dia # # Msg p/ conexoes ao 'O(perator)' do mailbox. motd "Welcome to Curitiba, Parana State, Brazil !" # Fim do arquivo # --------------------------------------------------------------------------