![Socks proxy list Socks proxy list](/uploads/1/2/4/3/124392765/260945048.jpg)
Ansible playbook for installing and configuring dante socks proxy on CentOS 7
Sims 3 height slider mod. Pl2303 eeprom writer program free. Adobe acrobat 9 key. Jul 01, 2016 Re: Dante SOCKS Proxy + IPTables Post by Boyd.ako » Fri Jul 01, 2016 9:53 am TrevorH wrote: You use firewall-cmd to manipulate the rules so man firewall-cmd is a good start.
dante.yaml
- Apr 11, 2018 Final: wait 3-5 minutes and the script will output the socks5 in ip:port format. Copy that socks and test it with firefox or any socks client you want. Onechanbara Bikini Zombie Slayers Ntsc Iso here. I have a VPS with Centos 7 os I have installed danted script wget -no-check-certificate Dante socks5 proxy.
- Is there any other socks proxy server I can install on Centos-7 that works same like dante-server. I am actually asked to configured such socks proxy that allows only selected sites to selected clients. I have tried ss5 and 2nd one was dante-server that doesn't worked with centos 7.
- Install Dante Socks Proxy Centos 6 Realflow 5 3ds Max 2012 Plugin Free Download Corel Painter Lite Serial Number Roald Dahl The Witches Download Microsoft Office Professional Plus 2010 Ver 14.0.4734.1000 H 264 Progdvb Pack Summer Switch Suzuki.
Socks Proxy Yahoo
- hosts: all |
vars: |
version: '1.4.2' |
interface: 'enp2s0' |
dante_port: '1089' |
tasks: |
- name: install dependencies |
become: yes |
become_user: root |
yum: name={{ item }} state=present |
with_items: |
- '@Development tools' |
- pam-devel |
- name: fetch dante |
get_url: |
url: 'https://www.inet.no/dante/files/dante-{{ version }}.tar.gz' |
dest: '/tmp/dante-{{ version }}.tar.gz' |
- name: unpack dante |
unarchive: |
remote_src: yes |
src: '/tmp/dante-{{ version }}.tar.gz' |
dest: '/tmp' |
- name: configure dante |
command: ./configure --prefix=/opt/dante chdir='/tmp/dante-{{ version }}' |
- name: make dante |
command: make chdir='/tmp/dante-{{ version }}' |
- name: install dante |
become: yes |
become_user: root |
command: make install chdir='/tmp/dante-{{ version }}' |
- name: touch misc configuration files |
tags: |
- configuration |
become: yes |
become_user: root |
file: |
path: '{{ item }}' |
state: touch |
owner: root |
group: root |
mode: 0644 |
with_items: |
- /opt/dante/danted.conf |
- /etc/systemd/system/dante.service |
- /etc/pam.d/sockd |
- name: dante configuration |
tags: |
- configuration |
become: yes |
become_user: root |
blockinfile: |
dest: '/opt/dante/danted.conf' |
block: | |
logoutput: stderr |
internal: {{ interface }} port = {{ dante_port }} |
external: {{ interface }} |
user.notprivileged: nobody |
clientmethod: none |
socksmethod: pam.username |
client pass { |
from: 0.0.0.0/0 to: 0.0.0.0/0 |
log: error connect disconnect |
} |
socks pass { |
from: 0.0.0.0/0 to: 0.0.0.0/0 |
log: error connect disconnect |
} |
socks block { |
from: 0.0.0.0/0 to: 127.0.0.0/8 |
log: connect error |
} |
- name: dante systemd service file |
tags: |
- configuration |
become: yes |
become_user: root |
blockinfile: |
dest: '/etc/systemd/system/dante.service' |
block: | |
[Unit] |
Description=Dante socks proxy |
[Service] |
User=root |
WorkingDirectory=/opt/dante |
ExecStart=/opt/dante/sbin/sockd -f /opt/dante/danted.conf |
Restart=always |
RestartSec=180 |
[Install] |
WantedBy=multi-user.target |
- name: PAM configuration |
tags: |
- configuration |
become: yes |
become_user: root |
blockinfile: |
dest: '/etc/pam.d/sockd' |
block: | |
#%PAM-1.0 |
#auth required pam_sepermit.so |
auth substack password-auth |
auth include postlogin |
# Used with polkit to reauthorize users in remote sessions |
-auth optional pam_reauthorize.so prepare |
account required pam_nologin.so |
account include password-auth |
password include password-auth |
# pam_selinux.so close should be the first session rule |
session required pam_selinux.so close |
session required pam_loginuid.so |
# pam_selinux.so open should only be followed by sessions to be executed in the user context |
session required pam_selinux.so open env_params |
session required pam_namespace.so |
session optional pam_keyinit.so force revoke |
session include password-auth |
session include postlogin |
# Used with polkit to reauthorize users in remote sessions |
-session optional pam_reauthorize.so prepare |
- name: create user with password 'gaimah2I' |
tags: |
- configuration |
- user |
become: yes |
become_user: root |
user: |
name: dantes |
state: present |
shell: /sbin/nologin |
# python2 -c 'import crypt; print crypt.crypt('gaimah2I', '$1$12qasfhf$')' |
# или |
# mkpasswd --method=sha-512 |
password: $6$BOid0t5cI5U/t$IypVeTb4kMEWS1QamK7SJfAyxZUZ77ecu63mA.JhNj985t2j9Q8vI86upd5X8Vc4CNJ7g5A5m4/42A0fL59Lf. |
update_password: always |
- name: start and enable dante |
tags: |
- run |
become: yes |
become_user: root |
systemd: |
daemon_reload: yes |
state: restarted |
enabled: yes |
name: dante |
Install Dante Socks Proxy Centos 7 Download
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment