whatnissan
Dabbler
- Joined
- Feb 18, 2015
- Messages
- 49
Code:
#!/bin/sh EPAIR=$(/sbin/ifconfig -l | tr " " "\n" | /usr/bin/grep epair) ipfw -q -f flush ipfw -q nat 1 config if {EPAIR} ipfw -q add nat 1 all from 10.8.0.0/24 to any out via {EPAIR} ipfw -q add nat 1 all from any to any in via {EPAIR}
I was thinking its the tun1 interface that showed up randomly but i cant delete it
I made that change and now it wont even connect am i missing something??
Update got it to connect again but its still not routing. the issue is my tun interface keeps changing ex tun0 is now tun3 everytime i restart the jail. Any ideas robbles? I had this working last night and this morning from work and it just stopped.. no clue why
ifconfig now shows this... UGH this is so frustrating..
Code:
[root@vpn2 /]# ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 02:35:5e:00:09:0b inet 10.0.0.22 netmask 0xffffff00 broadcast 10.0.0.255 nd6 options=9<PERFORMNUD,IFDISABLED> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active tun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500 options=80000<LINKSTATE> inet 10.8.0.1 --> 10.8.0.2 netmask 0xffffffff nd6 options=9<PERFORMNUD,IFDISABLED> Opened by PID 17661
Last edited: