Hello
I post this message here to ask for help on Packet Filter. Please forgive me primarily for my English deplorable fact that our friend Google just allows me to translate.
I contact you because I want to parameterize packet filter so I can connect an external IP network to a server that operates locally (Unable to run external)
I look at NAT and RDR, but nothing has given ..
Here's my setup:
> Network :
> Rc.conf
Thank you very much!
PS: My local network runs on an address like: 192.168.1.x - 255.255.255.0
I post this message here to ask for help on Packet Filter. Please forgive me primarily for my English deplorable fact that our friend Google just allows me to translate.
I contact you because I want to parameterize packet filter so I can connect an external IP network to a server that operates locally (Unable to run external)
I look at NAT and RDR, but nothing has given ..
Here's my setup:
> Network :
Code:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 08:00:27:2a:de:51
inet 192.168.1.85 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
> Rc.conf
Code:
gateway_enable="YES"
ifconfig_em0="inet 192.168.1.85 netmask 255.255.255.0"
defaultrouter="192.168.1.1"
Thank you very much!
PS: My local network runs on an address like: 192.168.1.x - 255.255.255.0