As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
CIFS, I had to add the non-privileged ports in alfresco-global.properties, and then set port forwarding
CIFS, I had to add the non-privileged ports in alfresco-global.properties, and then set port forwardingGlad to hear you got it going – I found steps to use the non-privileged ports and enable port forwarding, but all I'm getting when I go to \\alfresco\ is the folder "Printers and Faxes". None of the other folders are there. Any ideas about that?
cifs.tcpipSMB.port=1445 cifs.netBIOSSMB.namePort=1137 cifs.netBIOSSMB.datagramPort=1138 cifs.netBIOSSMB.sessionPort=1139
echo 1 > /proc/sys/net/ipv4/ip_forward modprobe iptable_nat iptables -F iptables -t nat -F iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT iptables -t nat -A PREROUTING -p tcp –dport 445 -j REDIRECT –to-ports 1445 iptables -t nat -A PREROUTING -p tcp –dport 139 -j REDIRECT –to-ports 1139 iptables -t nat -A PREROUTING -p udp –dport 137 -j REDIRECT –to-ports 1137 iptables -t nat -A PREROUTING -p udp –dport 138 -j REDIRECT –to-ports 1138
Thanks I do not have /etc/init.d/alfrescoNor can I find any script or file to restart alfresco.
# # redirect FROM TO PROTOCOL # setup port redirect using iptables redirect() { echo "Redirecting port $1 to $2 ($3)" iptables -t nat -A OUTPUT -p $3 –dport $1 -j REDIRECT –to-ports $2 iptables -t nat -A PREROUTING -p $3 –dport $1 -j REDIRECT –to-ports $2 iptables -t nat -A OUTPUT -p $3 –dport $1 -j REDIRECT –to-ports $2 } # # setup_iptables # setup iptables for redirection of CIFS and FTP setup_iptables () { echo "1" >/proc/sys/net/ipv4/ip_forward # Clear NATing tables iptables -t nat -F # FTP NATing redirect 21 2021 tcp # CIFS NATing redirect 445 1445 tcp redirect 139 1139 tcp redirect 137 1137 udp redirect 138 1138 udp }
log_daemon_msg "Starting $DESC" "$NAME"
echo "Setting up iptables …" setup_iptables
/usr/share/tomcat6/shared/classes/alfresco-global.properties