<commit_before>
ENABLE_SYSLOG=1

DENY_SSH_BF=1
DENY_SSH_BF_IP="$eth0"
DENY_SSH_BF_PORT=22


GOOGLE_DNS1=8.8.8.8
GOOGLE_DNS2=8.8.4.4

DNS_SERVERS="
    
    $GOOGLE_DNS1
    $GOOGLE_DNS2
"

WEB="

    80/tcp
    443/tcp
"

DNS="

    53/udp
    53/tcp
"

NTP="

    123/udp
"

SSH="

    22/tcp
"

BASIC_SERVICES="

    $WEB
    $DNS
    $NTP
    $SSH
"

APPSERVER1=192.168.123.2

#
# Permit SSH towards this host.
#
allow_in any $eth0 any "$SSH"
#
# Permit this host to access HTTP, DNS, NTP and SSH on the internet.
#
allow_out $eth0 any any "$BASIC_SERVICES"

#
# Enable clients within network $eth1_net to access the internet.
#
nat $eth1_net $eth0
allow_forward $eth1_net "$DNS_SERVERS" any "$DNS" 
allow_forward $eth1_net any any "$WEB"

#
# Forward port 80 on external interface $eth0 towards APPSERVER1
#
port_forward $eth0 "$APPSERVER1" "$WEB"
#
# By default, machines in any network attached to an interface
# can't access any other machine in any other local network.
# If a machine in any of those networks need to access the<commit_msg>Fixed default first-time config.<commit_after>
ENABLE_SYSLOG=1

DENY_SSH_BF=1
DENY_SSH_BF_IP="$eth0"
DENY_SSH_BF_PORT=22


GOOGLE_DNS1=8.8.8.8
GOOGLE_DNS2=8.8.4.4

DNS_SERVERS="
    
    $GOOGLE_DNS1
    $GOOGLE_DNS2
"

WEB="

    80/tcp
    443/tcp
"

DNS="

    53/udp
    53/tcp
"

NTP="

    123/udp
"

SSH="

    22/tcp
"

BASIC_SERVICES="

    $WEB
    $DNS
    $NTP
    $SSH
"

APPSERVER1=192.168.123.2

#
# Permit SSH towards this host.
#
allow_in any $eth0 any "$SSH"
#
# Permit this host to access HTTP, DNS, NTP and SSH on the internet.
#
allow_out $eth0 any any "$BASIC_SERVICES"

#
# Enable clients within network $eth1_net to access the internet.
#
# nat $eth1_net $eth0
# allow_forward $eth1_net "$DNS_SERVERS" any "$DNS" 
# allow_forward $eth1_net any any "$WEB"

#
# Forward port 80 on external interface $eth0 towards APPSERVER1
#
# port_forward $eth0 "$APPSERVER1" "$WEB"
#
# By default, machines in any network attached to an interface
# can't access any other machine in any other local network.
# If a machine in any of those networks need to access the
{'fraction_non_alphanumeric': 0.10268487988695242, 'fraction_numerical': 0.05181347150259067, 'mean_word_length': 3.46218487394958, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1913646', 'n_tokens_mistral': 960, 'n_tokens_neox': 881, 'n_words': 244}