HINTECH / config.json
Factor Studios
Upload 73 files
aaaaa79 verified
{
"dhcp": {
"network": "10.0.0.0/24",
"range_start": "10.0.0.10",
"range_end": "10.0.0.100",
"lease_time": 3600,
"gateway": "10.0.0.1",
"dns_servers": [
"8.8.8.8",
"8.8.4.4"
]
},
"nat": {
"port_range_start": 10000,
"port_range_end": 65535,
"session_timeout": 300,
"host_ip": "0.0.0.0"
},
"firewall": {
"default_policy": "ACCEPT",
"log_blocked": true,
"log_accepted": false,
"max_log_entries": 10000,
"rules": [
{
"rule_id": "allow_dhcp",
"priority": 1,
"action": "ACCEPT",
"direction": "BOTH",
"dest_port": "67,68",
"protocol": "UDP",
"description": "Allow DHCP traffic",
"enabled": true
},
{
"rule_id": "allow_dns",
"priority": 2,
"action": "ACCEPT",
"direction": "BOTH",
"dest_port": "53",
"protocol": "UDP",
"description": "Allow DNS traffic",
"enabled": true
}
]
},
"tcp": {
"initial_window": 65535,
"max_retries": 3,
"timeout": 300,
"time_wait_timeout": 120,
"mss": 1460
},
"router": {
"router_id": "virtual-isp-router",
"default_gateway": "10.0.0.1",
"interfaces": [
{
"name": "virtual0",
"ip_address": "10.0.0.1",
"netmask": "255.255.255.0",
"enabled": true,
"mtu": 1500
}
],
"static_routes": []
},
"socket_translator": {
"connect_timeout": 10,
"read_timeout": 30,
"max_connections": 1000,
"buffer_size": 8192
},
"packet_bridge": {
"websocket_host": "0.0.0.0",
"websocket_port": 8765,
"tcp_host": "0.0.0.0",
"tcp_port": 8766,
"max_clients": 100,
"client_timeout": 300
},
"session_tracker": {
"max_sessions": 10000,
"session_timeout": 3600,
"cleanup_interval": 300,
"metrics_retention": 86400
},
"logger": {
"log_level": "INFO",
"log_to_file": true,
"log_file_path": "/tmp/virtual_isp.log",
"log_file_max_size": 10485760,
"log_file_backup_count": 5,
"log_to_console": true,
"structured_logging": true,
"max_memory_logs": 10000
}
}