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)
Fri, Apr 4, 00:45
Unknown Object (File)
Mar 14 2025, 23:54
Unknown Object (File)
Mar 3 2025, 22:15
Unknown Object (File)
Mar 3 2025, 20:19
Unknown Object (File)
Feb 28 2025, 22:18
Unknown Object (File)
Jan 26 2025, 02:52
Unknown Object (File)
Jan 23 2025, 06:03
Unknown Object (File)
Dec 4 2024, 18:46
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.