Hi there,
I've seted up an IPsec tunnel with five networks on FreeBSD 8.4 to an Astaro based device. One of the remote networks has the 192.168.0.39/24 subnet and it's accessible from a local network 10.253.1.0/24 like all of these networks. The network of my LAN has a 192.168.0.0/24 subnet. So I've configured my NIC from the intranet with 192.168.0.2 and put an alias with 10.253.1.1 on it.
On my IPsec/PF FreeBSD system I can reach all addresses on the remote subnets. But I didn't get a successful NAT from my LAN 192.168.0.0/24 to 10.253.1 to the remote LANs working.
Is there a trick how I could do that with PF?
Cheers, Darko.
I've set
Code:
intranet: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=401bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO>
ether a0:36:9f:1f:98:44
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
inet 10.253.1.1 netmask 0xffffffff broadcast 10.253.1.1
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
Code:
MyPublicIP -> 10.253.1.0/24 <-> 192.168.39.0 <- RemotePublicIP
|
MyLAN-IP -> 192.168.0.0/24
On my IPsec/PF FreeBSD system I can reach all addresses on the remote subnets. But I didn't get a successful NAT from my LAN 192.168.0.0/24 to 10.253.1 to the remote LANs working.
Is there a trick how I could do that with PF?
Cheers, Darko.