Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@hp:/etc/ipfw # ifconfig
- em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
- options=42098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO>
- ether 00:23:24:1f:6f:c7
- inet6 fe80::223:24ff:fe1f:6fc7%em0 prefixlen 64 scopeid 0x1
- nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
- media: Ethernet autoselect
- status: no carrier
- re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
- options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
- ether 10:fe:ed:02:0a:bf
- inet 176.38.54.30 netmask 0xffffff00 broadcast 176.38.54.255
- nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
- media: Ethernet autoselect (1000baseT <full-duplex>)
- status: active
- ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1396
- inet 192.168.1.255 --> 192.168.1.200 netmask 0xffffffff
- inet6 fe80::223:24ff:fe1f:6fc7%ng0 prefixlen 64 scopeid 0x11
- nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
- root@hp:/etc/ipfw # cat /usr/local/etc/mpd5/mpd.conf
- startup:
- set user admin "********" admin
- set console self 127.0.0.1 5005
- set console open
- set web self 127.0.0.1 5006
- set web open
- default:
- load vpn
- vpn:
- set ippool add poolsat 192.168.1.200 192.168.1.254
- create bundle template B
- set iface enable proxy-arp
- set iface idle 1800
- set iface enable tcpmssfix
- set ipcp yes vjcomp
- set ipcp ranges 192.168.1.255/32 ippool poolsat
- set ipcp dns 192.168.1.1
- set bundle enable compression
- set ccp yes mppc
- set mppc yes e40
- set mppc yes e128
- set mppc yes stateless
- create link template L pptp
- set link action bundle B
- set link enable multilink
- set link yes acfcomp protocomp
- set link mtu 1460
- set link no pap chap
- set link enable chap
- set link keep-alive 10 60
- set pptp self 0.0.0.0
- set link enable incoming
- root@hp:/etc/ipfw # ipfw list
- 00100 allow tcp from me 1723 to any keep-state
- 00200 allow gre from any to any
- 00300 allow udp from any to any
- 00400 divert 8668 ip from any to any via re0
- 65535 allow ip from any to any
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement