Click Here
home features news forums classifieds faqs links search
5651 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
49 crawler(s) on-line.
 7 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 AmigaMac:  13 mins ago
 Jasper:  27 mins ago
 Rob:  46 mins ago
 Trekiej:  1 hr 11 mins ago
 wawa:  1 hr 36 mins ago
 ne_one:  1 hr 43 mins ago
 Barret:  2 hrs 5 mins ago
 amigakit:  2 hrs 20 mins ago
 TiredofLife:  2 hrs 42 mins ago
 Zylesea:  2 hrs 44 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  AmigaOS4 network sharing HOW-TO
Register To Post

PosterThread
Ami603 
AmigaOS4 network sharing HOW-TO
Posted on 1-May-2008 20:43:17
#1 ]
Cult Member
Joined: 7-Mar-2003
Posts: 575
From: Valencia,Spain 8-)

Hello, i've made a preliminary text covering ip forwarding and internet access
from your AmigaOS4 machine to several computers on a different network interface,below is the text, both in spanish and english versions.Feel free to post/copy/add on your own website or any other place, just keep the creator name and subsequent modifications from other people with it.

Original version made by Vicente 'Ami603' Gimeno.
Feel free to post this on any website,just keep the names of the original creator and
following corrections/revisions.

*******************************************************************************
English Version:

AmigaOS4 internet sharing how-to:

I made this guide after having to search a lot and dig over several documents
to be able to share the internet connection on my µA1 to a wireless network
of several computers.
It can be used with an Amigaone or any other AmigaOS4 hardware that has more
than 1 network cards of any type.

First of all you need to tell Roadshow tcp-ip stack to forward the incoming/
outgoing network packets to a different network interface.That is done with
creating the ENV(ARC): variable ENV(ARC):Roadshow/ip/forwarding.
Open Notepad or your preferred editor and just write an 1 on it, saving this
file as ENVARC:Roadshow/ip/forwarding.

Second, you need to modify your user-startup and adding the following lines to it:

ipf -DFa NIL:
ipf -f SYS:Devs/Internet/ipf.rules -E NIL:
ipnat -CF -f SYS:Devs/Internet/ipnat.rules NIL:

After that you need to create these two files inside SYS:Devs/Internet/ with your
custom configuration, below is an example of each file.

ipf.rules:

# This is my own configuration for ipfilter command.
# There should be pretty enough information about
# creating a more advanced firewall with better security.

pass out from any to any
pass in from any to any
pass out proto tcp all keep state


ipnat.rules:

# eth3com interface name is the one that has internet access.
# The fixed IP Address, 192.168.1.0 is assigned to our internal network,
# in my case a pci wireless card where we use addresses in the
# 192.168.1.xxx range.
# do not forget to change each to your own interface settings.

map eth3com 192.168.1.0/24 -> eth3com/32 proxy port ftp ftp/tcp
map eth3com 192.168.1.0/24 -> eth3com/32 portmap tcp/udp 10000:20000
map eth3com 192.168.1.0/24 -> eth3com/32

After doing all this you should be able to access internet from any computer
on your internal network using your Amiga IP as a gateway value for all the
other machines in such network.
Reboot and enjoy.
Corrections/additions wellcome.


*******************************************************************************
Version Castellano:

Compartir acceso a internet desde una maquina con AmigaOS4:

Escribi esta guia despues de tener que pelear con varios documentos y preguntar
aqui y alla sobre como poder compartir internet desde mi MicroA1 a una red
inalambrica interna.
Esta guia puede usarse con un Amigaone o cualquier otro hardware que corra AmigaOS4
con mas de una tarjeta de red de cualquier tipo.

El primer paso sera decirle a la pila tcp-ip Roadshow que reenvie los paquetes
entrantes/salientes a un interfaz de red diferente.Esto se hace creando la
variable ENV(ARC):Roadshow/ip/forwarding.
Abre notepad o tu editor preferido y teclea un 1 en el, guardando este fichero
como ENVARC:Roadshow/ip/forwarding.

Segundo paso, deberas modificar tu user-startup añadiendo las siguientes lineas:

ipf -DFa NIL:
ipf -f SYS:Devs/Internet/ipf.rules -E NIL:
ipnat -CF -f SYS:Devs/Internet/ipnat.rules NIL:

Despues de esto deberas crear estos dos ficheros dentro de SYS:Devs/Internet/
con tu configuracion especifica,abajo encontraras un ejemplo de cada fichero.

ipf.rules:

# Esta es mi propia configuracion para el comando ipfilter
# Deberia haber suficiente informacion para crear
# un firewall mas avanzado y seguro.

pass out from any to any
pass in from any to any
pass out proto tcp all keep state


ipnat.rules:

# El interfaz eth3com es el externo, con conexion a internet,
# La direccion ip fija se asigna a la red interna, en este caso la tarjeta wifi,
# en la que usariamos las direcciones 192.168.1.xxx
# no olvides cambiar cada uno segun tus propias necesidades.

map eth3com 192.168.1.0/24 -> eth3com/32 proxy port ftp ftp/tcp
map eth3com 192.168.1.0/24 -> eth3com/32 portmap tcp/udp 10000:20000
map eth3com 192.168.1.0/24 -> eth3com/32

Despues de hacer todo esto deberias ser capaz de acceder a internet
desde cualquier ordenador de tu red interna usando la ip de tu Amiga
como valor de gateway o puerta de acceso para todas las otras maquinas
de tu red.

Resetear y disfrutar.
Correcciones/añadidos seran bienvenidos.



_________________
Cuida tus piedras gordas.

A1200/030 32Mb
A4000D
A1-X1000.

 Status: Offline
Profile     Report this post  

Replies
SubjectPosterDate
      Re: AmigaOS4 network sharing HOW-TOCrumb5-May-2008 10:40:34
      Re: AmigaOS4 network sharing HOW-TOYescop5-May-2008 10:56:16
      Re: AmigaOS4 network sharing HOW-TOOldAmigan5-May-2008 13:57:19
      Re: AmigaOS4 network sharing HOW-TOSnuffy5-May-2008 18:26:41



[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle