Ik heb de IPCHAINS-Howto en man ff doorgespit en zie nu door de bomen het bos niet meer
.
Volgens de handleiding die bij de util Openh323proxy hoort moet ik als firewall-gebruiker een heel stel poorten openzetten: alles boven de 1024, dit zowel inkomend als uitgaand.
Hieronder een stukje met deze instructie wat op http://openh323proxy.sourceforge.net te vinden is:
Ondertussen is het 1:45 en ben ik nu zo onderhand wel gaar van die howto's en man's. Kloppen bovenstaande rules enigszins?
Vast en zeker een stomme vraag: wanneer gebruik je input/output? Ik kan het verschil ff niet meer visualiseren...
Volgens de handleiding die bij de util Openh323proxy hoort moet ik als firewall-gebruiker een heel stel poorten openzetten: alles boven de 1024, dit zowel inkomend als uitgaand.
Hieronder een stukje met deze instructie wat op http://openh323proxy.sourceforge.net te vinden is:
Ik heb dit d.m.v. onderstaande regels geprobeerd voor elkaar te krijgen:How can I use the proxy to allow H.323 communication to pass through my firewall?
In the firewall you shold allow all tcp and udp packets incoming on and outcoming from the gatekeeper host on non system port (over 1024).
You should set these options in the configuration file:
IsGKRouted
Route H245
Accept Unregistered Calls
Proxy Enabled
Internal Network Address
Internal Network Mask
As internal network you should indicate the network protected by the firewall.
If you want you can allow all incoming tcp connection on all hosts on port 1720 and don't set the option Accept Unregistered Calls. The endpoints can receive direct calls instead of passing through the gatekeeper (e.g. calls to the ip address instead of use the alias).
Nog even uitleg van de gebruikte variabelen:# H323 m.b.t. MSN voicechat gerelateerde allows:
$IPCHAINS -A input -p tcp -s $REMOTENET -d $OUTERNET $UNPRIVPORTS -j ACCEPT
$IPCHAINS -A output -p tcp -s $REMOTENET -d $OUTERNET $UNPRIVPORTS -j ACCEPT
$IPCHAINS -A input -p udp -s $REMOTENET -d $OUTERNET $UNPRIVPORTS -j ACCEPT
$IPCHAINS -A output -p udp -s $REMOTENET -d $OUTERNET $UNPRIVPORTS -j ACCEPT
Ik gebruik BTW PMFirewall voor de configuratie van jawel de firewall en NAT.CONFIG_DIR=/usr/local/pmfirewall
OUTERIF=ppp0
REMOTENET=0/0
OUTERIP=`ifconfig $OUTERIF | grep inet | cut -d : -f 2 | cut -d \ -f 1`
OUTERMASK=`ifconfig $OUTERIF | grep Mas | cut -d : -f 4`
OUTERNET=$OUTERIP/$OUTERMASK
INTERNALIF=eth0
INTERNALIP=`ifconfig $INTERNALIF | grep inet | cut -d : -f 2 | cut -d \ -f 1`
INTERNALMASK=`ifconfig $INTERNALIF | grep Mas | cut -d : -f 4`
INTERNALNET=$INTERNALIP/$INTERNALMASK
UNPRIVPORTS=1024:65535# unprivileged port range
Ondertussen is het 1:45 en ben ik nu zo onderhand wel gaar van die howto's en man's. Kloppen bovenstaande rules enigszins?
Vast en zeker een stomme vraag: wanneer gebruik je input/output? Ik kan het verschil ff niet meer visualiseren...