Changes for opnsense #16

Closed
arobincaron wants to merge 1 commit from opnsense_changes into master
arobincaron commented 2020-07-24 05:43:57 +05:30 (Migrated from github.com)

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.

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 2020-07-24 21:11:47 +05:30 (Migrated from github.com)

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

You're not supposed to use the PFatt script in OPNsense.
arobincaron commented 2020-07-25 03:12:20 +05:30 (Migrated from github.com)

Ok thanks!

Ok thanks!

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hhf/pfatt#16
No description provided.