Originariamente inviato da kodode
opss...
vediamo se riesco a risponderti... :master:
scusa ma sono un pò
ah se per quello anchio

- allora: il mio collegamento adsl (telekom) è di 1280/256 con 8 IP, di cui 3 li usano loro (cosi mi hanno detto quelli della telekom)poi dei 5 restanti, 4 mi sono stati chiesti dalla ditta che fa assistenza al gestionale... (non chiedermi il motivo perchè non lo so). Riasumendo io devo permettere loro di entrare nel server (passando da smoothwall) per effettuare l'assistenza.
ma in pratica tu dietro a smoothwall hai 4 server con IP pubblico giusto?


devo logarmi come root per fare:


grazie!!!
no, non devi scriverli sulla shell

Dal documento
Editing the Firewall Script:
Smoothwall's iptables firewall configuration is stored in /etc/rc.d/rc.firewall.up, so to make changes to the firewall, you'll need to edit this script.
quei settaggi che ti ho dato (che tra l'altro non so se sono giusti, mi raccomando fai tutti i test del caso) devi inserirli in
/etc/rc.d/rc.firewall.up
subito dopo questa riga:
/sbin/iptables -P OUTPUT ACCEPT


Naturalmente i cambiamenti non li vedi subito

Dal documento

Applying Your Changes:
Any changes you make to the firewall script will not take effect immediately.

After making changes to the firewall script, you can either reboot your Smoothwall, or run the following from a command line:


/etc/rc.d/rc.netaddress.down; /etc/rc.d/rc.netaddress.up


This will re-apply the firewall (as well as restart Snort, any VPNs, etc), and your modifications to the firewall script should be taking effect.

If you see any iptables errors immediately after the line


Setting up firewall


then you've probably made a typo or other mistake in the firewall script, and you'll have to make the appropriate corrections.