File: sockd-basic.conf

package info (click to toggle)
dante 1.4.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,580 kB
  • sloc: ansic: 60,866; yacc: 3,454; lex: 1,826; makefile: 369; awk: 220; sh: 214
file content (28 lines) | stat: -rw-r--r-- 668 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## general configuration (taken from FAQ; <URL:http://www.inet.no/dante/FAQ>)

#internal: fxp0 port = 1080
#external: fxp1
#socksmethod: username none
#user.privileged: root
#user.unprivileged: sockd
#logoutput: stderr

## client access rules

#client pass { from: fxp0 to: fxp0 } # address-range on internal nic.


## server operation access rules

# block connections to localhost, or they will appear to come from the proxy.
socks block { from: 0/0 to: lo log: connect }

# block bind to ports lower than 1023
#socks block {
#        from: 0/0 to: 0/0 port le 1023
#        command: bind
#        log: connect
#}

# allow the rest
#socks pass { from: 0/0 to: 0/0 }