home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   LINUX      Torvalds farts & fans know what he ate      8,232 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 5,302 of 8,232   
   Maurice Kinal to Benny Pedersen   
   remotely fidonet   
   16 Dec 17 10:24:20   
   
   Hey Benny!   
      
    BP> not working eksample that works in pratice   
      
   Yes it is.  In fact it is NATing for 3 smartphones for about a week now and   
   have yet to hear a complaint from any of them.   
      
   ----- /etc/sysconfig/ipv4-masq starts   
   table ip nat {   
     chain prerouting {   
       type nat hook prerouting priority 0; policy accept;   
     }   
     chain postrouting {   
       type nat hook postrouting priority 100; policy accept;   
       oifname "eth0" masquerade   
     }   
   }   
   ----- /etc/sysconfig/ipv4-masq ends   
      
   I start it up in the wireless rc script using these two commands;   
     echo 1 > /proc/sys/net/ipv4/ip_forward   
     nft -f /etc/sysconfig/ipv4-masq   
      
   It's just that simple.  Mind you the iptables NAT/masquerade wasn't anymore   
   complicated.   
      
   Life is good,   
   Maurice   
      
   ... Don't cry for me I have vi.   
   --- GNU bash, version 4.4.12(1)-release (x86_64-silvermont-linux-gnu)   
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca