I've configured OpenVPN on working Shorewall LAN server/Router.
There is no problem to get services from this except samba.
Shorewall/OpenVPN Server - A
eth0 192.168.0.1
eth1 INETAdress
tun0 192.168.100.1
services auth, smtp, cups samba configured to work on tun device
Client (from other NAT) with Windows XP and OpenVPN client - B
tun0 192.168.100.2
It can connect to auth, smtp oraz cups but not to samba.
My config:
interfaces
#ZONE INTERFACE BROADCAST OPTIONS
road tun+
net eth1 detect
tcpflags,norfc1918,routefilter,nosmurfs,logmartians,blacklist
loc eth0 detect
dhcp,tcpflags,detectnets,nosmurfs,maclist,blacklist
policy
#SOURCE DEST POLICY LOG LEVEL LIMIT:BURST
road loc ACCEPT
road net ACCEPT
road $FW ACCEPT
#debug
loc net ACCEPT info
# If you want open access to the Internet from your Firewall
# remove the comment from the following line.
$FW net ACCEPT
net all DROP info
#debug
# THE FOLLOWING POLICY MUST BE LAST
all all REJECT info
tunnels
#TYPE ZONE GATEWAY GATEWAY
# ZONE
openvpnserver:4000 net 0.0.0.0/0
zones
#ZONE TYPE OPTIONS IN OUT
# OPTIONS OPTIONS
fw firewall
net ipv4
loc ipv4
road ipv4
Is it possible to use samba service from A on B?
Rob
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users