|
Blue Forest http://www.lslnet.com at 20:18 on April 6, 2006
[NAT nowhere assistance ]ipfilter+ipnat I freebsdchina also available, we can only hope to solve the problem!
==
Environment :
BSD :
Fxp0 ip:192.168.1.20/255.255.255.0 gateway 192.168.1.254 -->; external networks :
-->; Network gateway 192.168.1.254 ip:192.168.2.254/255.255.255.0 rl0 :
Dns:218.104.95.230
XP :
Ip:192.168.2.1/255.255.255.0 gateway:192.168.2.254
Dns:218.104.95.230
=====
In bsd :
192.168.2.254 192.168.1.254 of ping of ping of ping 192.168.1.20
Ok of ping 218.104.95.230 of ping 192.168.2.1
In xp :
Ok of ping 192.168.2.254 of ping 192.168.1.20
Not ping通 of ping 192.168.1.254 (should be normal)
218.104.95.230 not ping通 of ping (without success because Senat)
====
Ipf.rules :
Pass in all
Pass out all
Ipnat.rules :
Map rl0 192.168.2.0/24 ->; 192.168.1.20/32 portmap tcp/udp 10000:39999
Map rl0 192.168.2.0/24 ->; 192.168.1.20/32
Still not online
====
According to friends suggested adding in rc.conf
Sysctl net.inet.ip.forwarding=1
Still not solve the problem |
[NAT nowhere assistance ]ipfilter+ipnat That is where you 192.168.1.254 IP?
No network card installed Gateway! If it is in the form of secondary agents, to be located outside the network gateway. |
[NAT nowhere assistance ]ipfilter+ipnat Ipf.rules :
Pass in all keep state
Pass out all keep state
Ipnat.rules :
Portmap tcp/udp auto map rl0 192.168.2.0/24 ->; 192.168.1.20/32
Map rl0 192.168.2.0/24 ->; 192.168.1.20/32 |
[NAT nowhere assistance ]ipfilter+ipnat I still ah
I look at the network configuration is wrong? How should I debugging ah?
Note :
===========================================
I use the bsd
Ip:192.168.1.20/255.255.255.0
Gateway:192.168.1.254
Dns:218.104.95.230
This environment of the Internet. Firewall is the address 192.168.1.254 (cisco Pix 506e)
=========================================== |
[NAT nowhere assistance ]ipfilter+ipnat -->; Network gateway 192.168.1.254 ip:192.168.2.254/255.255.255.0 rl0 :
CISCO not pointing to the bar. |
[NAT nowhere assistance ]ipfilter+ipnat [quote][i] Note from the original "shaaben" [/i] released :
-->; Network gateway 192.168.1.254 ip:192.168.2.254/255.255.255.0 rl0 :
Not at the bar to CISCO, [/quote]
If not then at 192.168.1.254 fxp0 bsd will not be able to pass on the Internet! |
[NAT nowhere assistance ]ipfilter+ipnat Solve the problem, because the problem in freebsdchina posted! Look at their interest |
| |