OpenBSD , le routage probleme
Fermé
danibal21
Messages postés
1
Date d'inscription
mercredi 14 janvier 2009
Statut
Membre
Dernière intervention
14 janvier 2009
-
14 janv. 2009 à 00:45
no - 25 janv. 2009 à 19:49
no - 25 janv. 2009 à 19:49
A voir également:
- OpenBSD , le routage probleme
- Les configurations ipv4 utilisateur peuvent ne pas fonctionner correctement en raison de l'architecture de routage ipv6 wan actuelle. ✓ - Forum Réseau
- Routage ip activé non - Forum WiFi
- Configuration de ipv6 - Forum Réseau
- Routage entre deux lan - Forum Réseau
- Routage ipv6 - Forum Réseau
1 réponse
lut,
==> nat ok
# cat /etc/pf.conf | grep nat
nat on $ext_if inet from !$ext_if -> $ext_if
# pfctl -sn
nat on fxp1 inet from ! 172.18.4.122 to any -> 172.18.4.122
==> ip forwarding a 1
# sysctl net.inet.ip.forwarding
net.inet.ip.forwarding=1
==>depuis le bsd tu ping le dlink ?
# pfctl -sr
pass in all flags S/SA keep state
pass out all flags S/SA keep state
==>rajoute le tps de faire tes tests (a la fin du pf.conf)
pass in all
pass out all
==> flush et recharge
pfctl -F all && pfctl -ef /etc/pf.conf
==>verifier pf.conf pr la syntaxe
pfctl -nf /etc/pf.conf
sinon tout simplement,
comment as tu conf la gateway sur le bsd ?
# cat /etc/mygate
193.136.54.11
puis
# cat /etc/mygate | xargs ping
PING 193.136.54.11 (193.136.54.11): 56 data bytes
64 bytes from 193.136.54.11: icmp_seq=0 ttl=64 time=1.249 ms
++
==> nat ok
# cat /etc/pf.conf | grep nat
nat on $ext_if inet from !$ext_if -> $ext_if
# pfctl -sn
nat on fxp1 inet from ! 172.18.4.122 to any -> 172.18.4.122
==> ip forwarding a 1
# sysctl net.inet.ip.forwarding
net.inet.ip.forwarding=1
==>depuis le bsd tu ping le dlink ?
# pfctl -sr
pass in all flags S/SA keep state
pass out all flags S/SA keep state
==>rajoute le tps de faire tes tests (a la fin du pf.conf)
pass in all
pass out all
==> flush et recharge
pfctl -F all && pfctl -ef /etc/pf.conf
==>verifier pf.conf pr la syntaxe
pfctl -nf /etc/pf.conf
sinon tout simplement,
comment as tu conf la gateway sur le bsd ?
# cat /etc/mygate
193.136.54.11
puis
# cat /etc/mygate | xargs ping
PING 193.136.54.11 (193.136.54.11): 56 data bytes
64 bytes from 193.136.54.11: icmp_seq=0 ttl=64 time=1.249 ms
++