--- Brian Shackelford <[EMAIL PROTECTED]> wrote: > Hello - > > > > I am currently at the end of my understanding. We have PF working > between two Ethernet cards perfectly - we have absolutely no problems > with it coming up properly and running as needed. What I am having a > problem with is when we use PPP to establish a connection to an ISP via > a dialup modem. In some cases we do need to do that as the locations do > not have high speed access. > > > > We have a line for the dialup config in our ppp.conf file called > elinkod: This connects up to earthlink manually, with the -ddial or the > -auto modes no problem and we can get around on the internet with no > problems. > > > > We have /etc/ppp/ppp.linkup and in that is a section like this: > > > > elinkod: > > ! sh -c "pfctl -e -f /etc/pf.conf" > > > > Now from what I understand this should allow the connection to establish > and the enable pf with the ruleset contained in pf.conf. It doesn't > seem to ever work. We even tried putting the commands to kick off in a > separate script file and kick that file off like so: > > > > elinkod: > > !bg /etc/ppp/ppp.linkup.elinkod > > > > Again that also did not work. We have the set log options set in the > ppp.conf file under the elinkod section and the relevant sections setup > in syslog.conf to allow for logging of ppp information to > /var/log/ppp.log - but nothing is appearing in the log files either. > > > > Just wondering if anyone has any suggestions as to what to do next? I > am sure it is something I am missing, but I read and re-read the man > pages and really couldn't find what I was doing wrong - of course > information starts to run together late at night and I might have > misread or confused something else.
You have to put a space before the exclamation mark.

