MonkWho / pfatt

Enable true bridge mode for AT&T U-Verse and pfSense (this is a fork of an original repository https://github.com/aus/pfatt. Since it is not available anymore, I'll do my best to maintain a copy for people that still need a bypass)
440 stars 171 forks source link

Changes for opnsense #16

Closed arobincaron closed 4 years ago

arobincaron commented 4 years ago

I made some changes as I could not get the existing script to work with the current build of opnsense.

usr-local-etc-rc.d-pfatt-5268AC should be placed in /use/local/etc/rc.d as pfatt-5268AC. It's the startup script for the /root/bin/pfatt-5268AC.sh script

etc/rc-conf.d-pfatt_5268AC should be /etc/rc.conf.d as pfatt_5268AC. This file allows control over where the pfatt-5268AC script is run at startup.

Without these changes FreeBSD refused to run the existing pfatt-5268AC-startup.sh script complaining that it was missing a name (or some such). This lead to a loss of WAN network connectivity after some time. Reading the FreeBSD RC(8) man page lead me to conclude that this was because it did not conform to the expected format. I made some adjustment based on my best understanding of the expected format while trying to minimize the number of changes made. Note that I don't know much than what I read on that page about FreeBSD so it is possible that some of these changes are not necessary or even completely correct.

If these changes are ok I would be glad to update the existing documentation to match.

maxfield-allison commented 4 years ago

You're not supposed to use the PFatt script in OPNsense.

arobincaron commented 4 years ago

Ok thanks!