Page MenuHomeDevCentral

Enable pf where jails are used
AbandonedPublic

Authored by dereckson on Oct 22 2017, 19:11.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 27, 02:57
Unknown Object (File)
Sat, Nov 23, 08:09
Unknown Object (File)
Oct 18 2024, 04:53
Unknown Object (File)
Oct 15 2024, 09:19
Unknown Object (File)
Oct 7 2024, 10:35
Unknown Object (File)
Oct 7 2024, 10:04
Unknown Object (File)
Oct 7 2024, 08:52
Unknown Object (File)
Oct 7 2024, 06:26
Subscribers
None

Details

Reviewers
dereckson
Summary

Jails should receive a unique IP to avoid port listening conflicts.

The plan is so to configure an internal NAT on the server.

To create redirect rules, we need a firewall like pf.

Test Plan

Ensure pf kernel module is loaded running kldstat

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
jails-nat-network
Build Status
Buildable 1731
Build 1979: arc lint + arc unit

Event Timeline

dereckson retitled this revision from Enable pf when we use jails to Enable pf where jails are used.Oct 22 2017, 19:15
dereckson edited the summary of this revision. (Show Details)
Ysul
$ salt-call --local state.apply roles/paas-jails/network
ocal:                                 
----------                             
          ID: pf_rc_ezjail             
    Function: file.managed             
        Name: /etc/rc.conf.d/pf        
      Result: True                     
     Comment: File /etc/rc.conf.d/pf updated                                   
     Started: 19:16:40.888692          
    Duration: 103.817 ms               
     Changes:                          
              ----------               
              diff:                    
                  New file             
              mode:                    
                  0644                 

Summary for local                      
------------                           
Succeeded: 1 (changed=1)               
Failed:    0                           
------------                           
Total states run:     1                
Total run time: 103.817 ms             

$ service pf start
/etc/rc.d/pf: WARNING: /etc/pf.conf is not readable.

A jails-based PaaS isn't currently a priority.