Tell me desperate but....
Translation of the original in Catalan. Read it in: CatalàCastellano
So I don't know a bloody thing about firewalling or masquerade or bridge or similar stories... give me a hand, plz
So that's it... (or possessed :P)
The machine called "Bombero" (kernel 2.4.5) is the one acting as a "firewall", it has 2 ethernets (eth0 ADSL monopuesto, eth1 intranet), so far so good
This machine has to do masquerade for the whole network and only accept from the internet SSH, WWW and FTP, redirecting these last two services to the server (including the typical protections against spoof, Ping of Death and other typical firewall stories)
The question is the following... Has anyone implemented anything along these lines?
The reason for asking, apart from the fact that I have no idea and should spend quite a while with the iptables, is that I need it for yesterday ;)
Thanks to everyone for your contribution, I know there will be thousands of them xDDD
A10ets
el jav|v|
5 comments
Comments from the old blog, as they were written. Comments are closed.
jav|v|
Tot lo comentat anteriorment ja "funciona", desde la xarxa es pot accedir a
tots els serveis de inet i desde inet nomes es pot accedir a la web i al ftp
(aixo espero :P).
Pro ara el problema es el seguent... no es veu la web del server de la intranet
si poses la url al navegador (si q es veu fincan la ip local del server)
Algu sap pq ?
Oriol Rius
Mira't aquest article i els seus comentaris q es va penjar al portal fa
temps:
http://oriol.homeip.net/?id=204
titulat: Problema amb el NAT
jav|v|
He probat el NETMAP patch i la resposta es la seguent...
iptables v1.2.4: Unknown arg `--to'
He probat els lo q es comenta al NAT_problema.pdf i les iptables no em canten
cap error, pro segueix sense solucionarse el problema... aixi q no se q fer...
suicidi? :P
xDD
en fi... piro a mimil
Oriol Rius
L'ordre dels paràmetres a les iptables importa. Enganxa la línia
q et falla, ja q segurament no t'ainirà per això.
El patch estàs segur q l'has aplicat bé??? si és q si
només queda q la línia no l'has escrit bé.
jav|v|
root@Bombero:/# iptables -t nat -A PREROUTING -d 192.168.0.0/24 -j NETMAP --to
192.168.0.20
iptables v1.2.4: Unknown arg `--to'